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

Support none / one / multiple fractional seconds #907

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

ankurkhanna03
Copy link
Contributor

The OpenISO8601DateFormatter.mustache now supports various possible formats

"yyyy-MM-dd'T'HH:mm:ss", // No fractional seconds
"yyyy-MM-dd'T'HH:mm:ss.S", // 1-digit fractional seconds
"yyyy-MM-dd'T'HH:mm:ss.SS", // 2-digit fractional seconds
"yyyy-MM-dd'T'HH:mm:ss.SSS", // 3-digit fractional seconds
"yyyy-MM-dd'T'HH:mm:ss.SSSS", // 4-digit fractional seconds
"yyyy-MM-dd'T'HH:mm:ss.SSSSS", // 5-digit fractional seconds
"yyyy-MM-dd'T'HH:mm:ss.SSSSSS", // 6-digit fractional seconds

the fractional part support n number of fractional seconds.

@ankurkhanna03 ankurkhanna03 requested a review from DevAgani August 29, 2024 12:51
@jjjasper
Copy link
Contributor

The OpenISO8601DateFormatter.mustache now supports various possible formats

"yyyy-MM-dd'T'HH:mm:ss", // No fractional seconds "yyyy-MM-dd'T'HH:mm:ss.S", // 1-digit fractional seconds "yyyy-MM-dd'T'HH:mm:ss.SS", // 2-digit fractional seconds "yyyy-MM-dd'T'HH:mm:ss.SSS", // 3-digit fractional seconds "yyyy-MM-dd'T'HH:mm:ss.SSSS", // 4-digit fractional seconds "yyyy-MM-dd'T'HH:mm:ss.SSSSS", // 5-digit fractional seconds "yyyy-MM-dd'T'HH:mm:ss.SSSSSS", // 6-digit fractional seconds

the fractional part support n number of fractional seconds.

Can you also update the README changelog and clarify that this is for the swift template, Thanks.

Copy link

@ankurkhanna03 ankurkhanna03 merged commit fb82679 into main Aug 29, 2024
3 checks passed
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.

4 participants