Add "Plain" prefix to Date, Time, DateTime, YearMonth, MonthDay types (e.g. PlainDate
)
#1072
Labels
documentation
Additions to documentation
has-consensus
help wanted
non-prod-polyfill
THIS POLYFILL IS NOT FOR PRODUCTION USE!
spec-text
Specification text involved
zoned-type
Part of the effort for a type with timestamp+timezone
Milestone
Per the decisions in #707, we will be adding a
Plain
prefix to Temporal's unzoned date and/or time types. (The date/time type with a time zone will be calledZonedDateTime
.)Adding this prefix is a straightforward but labor-intensive change, so it's a great first issue for someone who wants to help out.
Specific changes needed:
Date => PlainDate
Time => PlainTime
DateTime => PlainDateTime
YearMonth => PlainYearMonth
MonthDay => PlainMonthDay
Changes need to be made in the polyfill code, polyfill tests, Temporal docs, cookbook sample, and the Temporal spec.
You can read #707 for the history behind these changes, but here's the TL;DR:
Plain
won by a 3:1 margin over other possible prefixes choices in a 166-vote Twitter poll.The text was updated successfully, but these errors were encountered: