Skip to content

Conversation

@WZhuo
Copy link
Contributor

@WZhuo WZhuo commented Jan 8, 2026

No description provided.

Comment on lines 80 to 82
/// - yyyy-MM-dd HH:mm:ss
/// - yyyy-MM-dd HH:mm:ss.SSS
/// - yyyy-MM-dd HH:mm:ss.SSSSSS
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/// - yyyy-MM-dd HH:mm:ss
/// - yyyy-MM-dd HH:mm:ss.SSS
/// - yyyy-MM-dd HH:mm:ss.SSSSSS
/// - yyyy-MM-ddTHH:mm:ss
/// - yyyy-MM-ddTHH:mm:ss.SSS
/// - yyyy-MM-ddTHH:mm:ss.SSSSSS

The java formatter is as below:

        ISO_LOCAL_DATE_TIME = new DateTimeFormatterBuilder()
                .parseCaseInsensitive()
                .append(ISO_LOCAL_DATE)
                .appendLiteral('T')
                .append(ISO_LOCAL_TIME)
                .toFormatter(ResolverStyle.STRICT, IsoChronology.INSTANCE);

///
/// The output will be one of the following forms, according to the precision of the
/// timestamp:
/// - yyyy-MM-dd HH:mm:ss+00:00
Copy link
Member

Choose a reason for hiding this comment

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

ditto

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