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

Convert ambiguous date into standard format. #489

Merged
merged 1 commit into from
Nov 15, 2019
Merged

Convert ambiguous date into standard format. #489

merged 1 commit into from
Nov 15, 2019

Conversation

GitTom
Copy link
Contributor

@GitTom GitTom commented Nov 14, 2019

Sorry to be picky, but I got bitten by some ambiguous date format problems recently so...

The date I am converting (9/6/19) is Sep 6th if it is in US format and is June 9th for all other English speaking countries (I'm highlighting English countries only because this text is in English). I determined that it is US format by looking at the date of the commit.

I suggest that stuff like this use ISO 8601 format because it is unambiguous, it is popular amongst developers, it is getting wider adoption, and it is a great format! Thanks.

Sorry to be picky, but I got bitten by some ambiguous date format problems recently so...

The date I am converting (9/6/19) is Sep 6th if it is in US format and is June 9th for all other English speaking countries (I'm highlighting English countries only because this text is in English).  I determined that it is US format by looking at the date of the commit.

I suggest that stuff like this use [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format because it is unambiguous, it is popular amongst developers, it is getting wider adoption, and it is a great format!  Thanks.
Copy link
Owner

@coreybutler coreybutler left a comment

Choose a reason for hiding this comment

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

Seems like a completely reasonable ask. I'll keep this in mind for future updates.

@coreybutler coreybutler merged commit 5892ea5 into coreybutler:master Nov 15, 2019
@coreybutler
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants