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

Change the date format to a universal one, ISO_8601 #3806

Closed
danielmotaleite opened this issue Jan 29, 2018 · 3 comments
Closed

Change the date format to a universal one, ISO_8601 #3806

danielmotaleite opened this issue Jan 29, 2018 · 3 comments

Comments

@danielmotaleite
Copy link

danielmotaleite commented Jan 29, 2018

Nomad version

Nomad v0.7.0

Operating system and Environment details

debian stretch

Issue

Date format is US format only, that is very confusing for everyone else and may cause bad decisions.
Date should be using locale, or even better, ISO_8601. This format causes no confusion, alllow easy sorting and everyone will understand it
https://en.wikipedia.org/wiki/ISO_8601

Reproduction steps

$ nomad job history -p e | grep Date

Submit Date = 09/12/17 15:25:33 UTC

Is this 2017/09/12 or 2017/12/09 ? or even 2009/12/17?
ISO would be 2017-09-12T15:25:33Z

This makes everything clear for everyone, not just US people

@danielmotaleite
Copy link
Author

nomad ui also have the same problem, by the way

@chelseakomlo
Copy link
Contributor

Hi, thanks for opening this issue; we should move to use ISO_8601.

We would take a PR for this, otherwise we will add this to our future backlog.

jrasell added a commit to jrasell/nomad that referenced this issue Jan 30, 2018
This change updates the formatTime CLI helper function to return
an ISO_8601 time format which will make CLI time usage more
consistent and easier. Previosuly the time format was in US style
format which was somewhat confusing to non US users.

Closes hashicorp#3806
schmichael pushed a commit to schmichael/nomad that referenced this issue Feb 14, 2018
This change updates the formatTime CLI helper function to return
an ISO_8601 time format which will make CLI time usage more
consistent and easier. Previosuly the time format was in US style
format which was somewhat confusing to non US users.

Closes hashicorp#3806
@github-actions
Copy link

github-actions bot commented Dec 4, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants