HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
tc39
proposal-temporal
HTML2018–2026
tc39 / proposal-temporal

proposal-temporal

Provides standard objects and functions for working with dates and times.

35Distinct people
40Mentions
0Explicit recommenders
3.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Provides standard objects and functions for working with dates and times.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 9:01:12 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year40 dated mentions

Observed mentions: 2018-04-25 07:03:12 UTC to 2026-03-18 02:23:04 UTC.

0510152018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 13 mentions; 3 submissions, 10 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 9 mentions; 1 submissions, 8 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 6 mentions; 2 submissions, 4 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC303
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC110
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC13310
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC918
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC303
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC110
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC624
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC303

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
Temporal Provides standard objects and functions for working with dates and times. Status This proposal is currently Stage 4. It will be merged into the ECMA-262 and ECMA-402 standards and this repository will be archived. Implementation status: SpiderMonkey/Firefox: shipped in Firefox 139 (on 2025-05-27) V8/Chrome: shipped in Chrome 144 (on 2026-01-13) Node.js: shipped in Node 26 (on 2026-05-05) JavaScriptCore/Safari Boa GraalJS: planned to ship in GraalVM 25.1.0 Kiesel Champions Philipp Dunkel (@pipobscure) Maggie Johnson-Pint (@maggiepint) Matt Johnson-Pint (@mattjohnsonpint) Brian Terlson (@bterlson) Shane Carr (@sffc) Ujjwal Sharma (@ryzokuken) Philip Chimento (@ptomato) Jason Williams (@jasonwilliams) Justin Grant (@justingrant) Overview / Motivation Date has been a long-standing pain point in ECMAScript. This proposes Temporal, a global Object that acts as a top-level namespace (like Math), that brings a modern date/time API to the ECMAScript language. For a detailed breakdown of motivations, see: Fixing JavaScript Date Principles: All Temporal objects are immutable. Date values can be represented in local calendar systems (why?), but they should be convertable to and from the Proleptic Gregorian Calendar. All time-of-day values are based on a standard 24-hour clock. Leap seconds are not represented. Specification Text The specification text can be found here. Documentation Reference documentation and examples can be found below. Temporal Documentation (English) Temporal のドキュメント (Japanese) (translated a part of the English document into Japanese) Temporal 文档 (Chinese) (translated a part of the English document into Chinese) A cookbook to help you get started and learn the ins and outs of Temporal is available here Polyfills Polyfill Repo Status @js-temporal/polyfill js-temporal/temporal-polyfill Alpha release available temporal-polyfill fullcalendar/temporal-polyfill Stable release available temporal-polyfill-lite fabon-f/temporal-polyfill-lite Release Candidate available If you're working on a polyfill, please file an issue or PR so we can add yours here. A non-production polyfill was built to validate this proposal. This polyfill continues to live in this repo, but only for the purposes of running tests and powering the documentation "playground" as described below. DO NOT use this polyfill in your own projects! Instead, please use a polyfill from the table above. Documentation Playground When viewing the reference documentation, the non-production polyfill is automatically loaded in your browser, so you can try out Temporal by opening your browser's developer tools console.
Read the full README on GitHub

What Hacker News says

13 sources
For new code, I think most JS devs have already switched to using the class syntax. Also FP in JS is alive and well if you want to avoid dealing with prototype chains altogether. I think we can all agree the Date API sucks, but life can still be good if you just give in and include a date library. Also, there's some light at the end of the tunnel with Temporal proposal coming along [1]. Object.keys returning string[] is purely a TypeScript design decision, coming from how TypeScript chooses to model object subtyping [2]. type Foo = { a: string } const keysOfFoo = (obj: Foo) => Object.keys(obj) const foo = {a: '', b: 5} keysOfFoo(foo) The fact that this passes type checks is a conscious TS design decision that comes with both advantages and disadvantages. It wouldn't have to be this way; Exact types [3] could potential
Read the rest
ly be used to describe that if the type is exactly Foo, it's safe to assume Object.keys(foo) is (keyof Foo)[]. For first class tuples (and records), there's a stage 2 EcmaScript proposal coming along [4]. There's of course also the readonly [] type in TypeScript if you only need the safety of not accidentally pushing to an "immutable" array. First class language support could have nice additional features though, like strict equality. Anyways, if these are the things you don't like about JS/TS, I don't think AssemblyScript will be the answer for you, as the goals of that language seem to be entirely different from "fixing" old JS cruft. Apart from the i32, i64 stuff I guess. [1] https://github.com/tc39/proposal-temporal [2] https://github.com/Microsoft/TypeScript/pull/12253#issuecomm... [3] https://github.com/microsoft/TypeScript/issues/12936 [4] https://github.com/tc39/proposal-record-tuple
In Show HN: A SQL database implemented purely in TypeScript type annotations
It's a current WIP idea for the spec: https://github.com/tc39/proposal-temporal/pull/700 Figuring out a name is still part of the ongoing discussion, so this specific case of `LocalDateTime` isn't a huge deal, and I might have misrepresented things slightly in my original comment, sorry! But I do think the overall point still stands - that it might be best to just use the same names and terminology as Java does.
In Dates and Times in JavaScript – A New API for Dates from TC39
I think this is a great proposal and a huge step in the right direction for JS. I am curious though, is there a reason not to just essentially duplicate the Joda[0]/Java[1]/ThreeTen[2] API? As far as I understand, they are generally considered a gold standard as far as datetime APIs. Is it too Java-y that it wouldn't make sense to port to JS? Are there copyright implications? The JS Temporal proposal _does_ as far as I can tell, share many of the underlying fundamental concepts, which is great, but then confusingly has some types, such as `LocalDateTime`, which mean the exact opposite of what they do in the well-known Java API [3]. There is still discussion going on about these details, but from my perspective it seems like the best thing would be to just copy the Java naming conventions exactly. [0]: https://www.joda.org/joda-time/ [1]:
Read the rest
In Dates and Times in JavaScript – A New API for Dates from TC39

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.