Skip to content

Timezones west of GMT show wrong date even thought the underlying data is correct. #247

Description

@tdt-amartin

I have an odd display bug here that's puzzling me. I have my profile set to U.S. Mountain time (currently GMT-6). When I add timesheet entries, they are off, but only on the day they are displayed. The times are correct and not off by 6 hours.

It doesn't matter if I change my timezone in the app profile to, for example, London/BST the day is still off by -1. But if I change my computer system clock to London/GMT, then the dates appear correctly.

My best guess is that the date is being parsed separately from the time entries, so here's an example:

worklog id 1 date=1785888000 (Aug 5 00:00Z) 12:26–16:52 but the UI labels it Aug 4 while showing 12:26–16:52.

It could be a config issues on my part. I'm not certain. Please let me know what els eI can provide to help track this down.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed-0.8.8Fix or feature shipped in v0.8.8

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions