tc39 / proposal-temporal

Provides standard objects and functions for working with dates and times.
https://tc39.es/proposal-temporal/docs/
Other
3.29k stars 149 forks source link

Bikeshed thread for civil time prefix #33

Closed domenic closed 4 years ago

domenic commented 7 years ago

Currently the "civil time" types are prefixed with Plain. This is a bit confusing and unclear to me, so I thought it would be worthwhile to start a thread exploring alternatives.

To be clear, this kind of bikeshedding is not a big issue or blocker, and hopefully will not be too frustrating for the proposal authors. But I think it's a discussion worth having.

Some alternatives:

gajus commented 5 years ago

Prefix it with "Hard", i.e. HardDate, HardTime, HardDateTime.

Just because dates are hard.

zimmi commented 5 years ago

Another way to think about Local types is that they are adequate for applications with a local (as opposed to global) userbase. JavaScript is ubiquitous, this mnemonic seems sensible for "native" applications.

pipobscure commented 4 years ago

This has been solved. We’re nit prefixing, but namespacing in the Temporal global.

hax commented 4 years ago

@pipobscure Hope the proposal repo could be updated soon. 😃