Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specs for Time parser to raise when time zone is missing #6174

Conversation

straight-shoota
Copy link
Member

Surpasses #5382

@@ -30,12 +30,12 @@ require "./format/parser"
# * **%j**: day of year, zero padded (001, 002, ..., 365)
# * **%k**: hour of the day, 24-hour clock, blank padded (" 0", " 1", ..., "24")
# * **%l**: hour of the day, 12-hour clock, blank padded (" 0", " 1", ..., "12")
# * **%L**: milliseconds, zero padded (000, 001, ..., 999)
# * **%L**: milliseconds, zero padded (000, 001, ..., 999) (also **%3N**)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/also/same as/ ?

@straight-shoota straight-shoota force-pushed the jm/feature/time-format-emtpy-zone-spec branch from 8a5ef30 to a09c579 Compare June 11, 2018 13:45
@straight-shoota straight-shoota force-pushed the jm/feature/time-format-emtpy-zone-spec branch from a09c579 to dadc109 Compare June 11, 2018 18:55
@bcardiff bcardiff added this to the 0.25.1 milestone Jun 15, 2018
@bcardiff bcardiff merged commit 8e5e4c7 into crystal-lang:master Jun 15, 2018
@bcardiff
Copy link
Member

Thanks @straight-shoota

@straight-shoota straight-shoota deleted the jm/feature/time-format-emtpy-zone-spec branch June 15, 2018 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants