Skip to content

Allow specifying a timezone for SQLite datetime columns in the viewer #1089

@s0nerik

Description

@s0nerik

What

Having ability to specify the "source timestamps timezone" for SQLite timestamps would be really useful.

Why (problem/use case)

In SQLite, there's no easy and widely-supported way of forcing datetime columns to have a timezone specified. Closest I could come up with for my setup was using _time_format=datetime&_timezone=UTC in the DSN. But having this setup, I must always keep in mind that all timestamp column values I see are actually in UTC, even though I see them without any timezone markers in the DBCode's viewer. I'd really love to have an option to specify that the database's datetime columns contain UTC values only, so that the viewer can automatically translate them into my local timezone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions