support timezone phrase as datatype not as a keyword by eniko1556 · Pull Request #896 · sql-formatter-org/sql-formatter

Conversation

@eniko1556

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.

@codesandbox-ci

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

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.

@nene

2 participants

@eniko1556 @nene