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

Update timestamp format to yyyy-MM-ddTHH:mm:ss.SSSZ #27

Closed
jzonthemtn opened this issue Oct 23, 2024 · 1 comment · Fixed by #28
Closed

Update timestamp format to yyyy-MM-ddTHH:mm:ss.SSSZ #27

jzonthemtn opened this issue Oct 23, 2024 · 1 comment · Fixed by #28

Comments

@jzonthemtn
Copy link
Collaborator

Update timestamp format to yyyy-MM-ddTHH:mm:ss.SSSZ.

@epugh
Copy link
Member

epugh commented Oct 23, 2024

Yes, the timestamp format yyyy-MM-ddTHH:mm:ss.SSSZ is compliant with ISO 8601, but with a slight clarification regarding the Z:
Breakdown:

Date: yyyy-MM-dd (Year-Month-Day)
Time: HH:mm:ss.SSS (Hours:Minutes:Seconds.Milliseconds)
Timezone:
    If Z is used, it indicates UTC (Coordinated Universal Time).
    If a timezone offset is provided (e.g., +00:00 or -05:00), that is also compliant.

Example:

2023-10-23T14:30:00.123Z (UTC)
2023-10-23T14:30:00.123+00:00 (UTC offset)

Both are valid and compliant with ISO 8601.

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 a pull request may close this issue.

2 participants