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

Use RFC3339 timestamps #21

Merged
merged 1 commit into from
Feb 2, 2018
Merged

Use RFC3339 timestamps #21

merged 1 commit into from
Feb 2, 2018

Conversation

mattaezell
Copy link
Contributor

RFC3339 implements ISO8601. "It is a conformant subset of the ISO 8601 extended format. Simplicity is achieved by making most fields and punctuation mandatory."
partial-issue: #19

@mattaezell
Copy link
Contributor Author

Note: golang also has a time.RFC3339Nano, but it uses .999999999 for the fraction of seconds which will trim zeros at the end. Instead we use .000000000

@chenglch chenglch merged commit 1e6b890 into xcat2:master Feb 2, 2018
@chenglch
Copy link
Contributor

chenglch commented Feb 2, 2018

Thanks

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