Skip to content

Possible daylight savings time issue for March 10 in AST (Rails) #179

@kenzie

Description

@kenzie

When trying to parse "March 10th at 12:30pm" in Atlantic Time it's returning March 11th at 12:30am.

Time.zone = 'Atlantic Time (Canada)'
Chronic.time_class = Time.zone
Chronic.parse('March 10th at 12:30pm')
#=> Mon, 11 Mar 2013 00:30:00 ADT -03:00

Everything on March 10th, from 12pm to 12:59pm is moving ahead to March 11th from 12am to 12:59am.

Rails 3.2.12
Chronic 0.9.0 and 0.9.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions