Skip to content

Time zone ambiguity #2053

Description

@MatakuT

The assignment due date selector complained that the time selected was in the past unless the time was selected that matched UTC time or greater. The tested timezone was CST (UTC -6 hours). The time was 11 p.m. but the data picker was only satisfied when 5 a.m. was chosen.
The bug might be in that the create assignment screen assumes/expects UTC timezone.
I tried creating assignment object through the rails console and setting the time to 11 p.m. and that worked just fine because rails console interface included timezone information. Whereas the data-interface data picker does not provide the timezone or assumes UTC. One solution can be to update the date picker or make the current one convert from time into the local timezone.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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