Skip to content

CI rehearsal only: p036-kotlin-expires-parser (do not merge) - #3

Closed
michael-moffett wants to merge 1 commit into
mainfrom
p036-kotlin-expires-parser
Closed

michael-moffett wants to merge 1 commit into
mainfrom
p036-kotlin-expires-parser

Conversation

@michael-moffett

Copy link
Copy Markdown
Member

Fork CI only. Do not merge.

OffsetDateTime.parse reads ISO 8601, not RFC 3339 section 5.6: it accepts
hour-only offsets, missing seconds, an empty fraction and extended years,
and it refuses leap seconds, fractions past nine digits and offsets past
18:00. isExpired now parses expires against the 5.6 grammar. A leap
second is accepted only at 23:59:60 UTC on the last day of a month and
clamps to the last nanosecond of :59. Anything refused still reads as
expired.
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.

1 participant