support timezone phrase as datatype not as a keyword by eniko1556 · Pull Request #896 · sql-formatter-org/sql-formatter
Conversation
Fixed SQL formatting for timezone data types like TIMESTAMP WITH TIME ZONE - these were incorrectly treated as keywords instead of data types, so dataTypeCase: 'lower' settings now work correctly for timestamp phrases.
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
nene approved these changes Sep 4, 2025
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for a nice PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters