Skip to content

formatdatetime function doesn't handle time with time zone properly #3757

@beikov

Description

@beikov

The following query will return the wrong time zone offset. It uses the session time zone instead of the one defined on the time with time zone type:

select formatdatetime(cast('12:00:00+05:15' as time(6) with time zone),'XXX')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions