Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Back to all features
Open for signals JavaScript

Temporal

The Temporal API allows you to work with dates, times, time zones, and durations. It is more powerful than the Date API.

Modern Web Guidance

Community use cases (10)

Community signal summary

Developers strongly advocate for native temporal support to eliminate the architectural limitations and comparison bugs of the legacy JavaScript Date object [1][4][7]. Primary use cases include managing timezone-agnostic plain dates without time or timezone information [1][6][10], handling partial date structures like isolated times or year-month combinations [1][3], executing complex timezone calculations using Temporal.ZonedDateTime and IANA identifiers [2][4], and formatting media playback durations into human-readable timestamps via Temporal.Duration [8]. Applications span nationwide platforms managing client-set schedules [6], multi-timezone interfaces [2], specialized astronomical software requiring topographic observer corrections [4], and video playback time displays [8].

In the meantime, developers must bundle heavy or unmaintained third-party libraries like date-fns, date-fns-tz [6], or the legacy 150 KB moment library [7], as well as polyfills with custom overflow logic [2][3]. Teams are forced to maintain custom helper suites to mitigate client-server timezone drift [6], write manual string parsers [3], calculate video timestamps using manual arithmetic and Math.floor() conversions [8], or maintain ad-hoc { year, month, day } objects and date strings with custom timezone-alignment routines [10]. Because temporal remains unsupported on iOS and Safari [3][4], teams face compounding maintenance burdens and bundle bloat, leading some developers to forgo Safari support entirely rather than managing polyfill overhead [4].

What I want to do with this feature

I want to handle partial date and time data (only time or only day, or dates without timezone).

What I'm having to do in the meantime

In the meantime I use JavaScript Date objects to represent such data, but I have to be careful to set the value of unused fields for comparisons to work as expected (forgetting to do so can lead to unexpected problems).

What I want to do with this feature

  • show datetimes in different timezones in my app.
  • make a library that makes Temporal.ZonedDateTime feel like Date.

What I'm having to do in the meantime

im using a polyfill and some overflow code to achive what i want.

What I want to do with this feature

Easily handle dates, times, months (with years but not dates) in a straightforward manner, without writing string parsers and normaliser functions. The localisation support and timezone handling is an added bonus.

What I'm having to do in the meantime

I have to use a polyfill if there's any chance my users use iOS or Safari.

What I want to do with this feature

Let's see I am using temporal for zdt (ZonedDateTime) and IANA time zone names and time zone support in ways that Date() never could
I'm using temporal inside an astronomical/celestial app with topographic observer corrections, so strong local time zone support is very much a hard requirement.

What I'm having to do in the meantime

BTW, this just doesn't work on iOS right now, and I have no intention of backfilling or polyfilling or anything else.

@anthonymhumphreys I took the liberty to apply the template to your comment. I did not change the content of your comment, I only added the headings from the template. Thank you for your comment.

lowmess
ressiosoftware

What I want to do with this feature

I work on an app used by folks across the country with a lot of client-set dates and datetimes. These date(time)s have no need to be timezone-aware, so using Temporal (without introducing a polyfill) will allow us to simplify all of our date handling and remove dependencies.

Workarounds currently used

Use date-fns/date-fns-tz for date manipulation and timezone handling (despite formatting all going through Intl.DateTimeFormat). We also have our own robust suite of helpers to ensure timezones are displayed consistently regardless of server/client drift.

What I want to do with this feature

I want to use a better API than the Date API, without resorting to 3rd party libraries

Workarounds currently used

We currently use the legacy Moment.js library, which is 150 KB in size and no longer maintained.

What I want to do with this feature

I want to use Temporal.Duration to display the time passed on a video in MM:SS format.

What I'm having to do in the meantime

I use Math.floor() and / to convert the currentTime to a human-readable format.

What I want to do with this feature

const tmpdzt = Object.freeze(dzt);

What I'm having to do in the meantime

const tmpEpochMilliSecs = dzt.epochMilliseconds

What I want to do with this feature

I want to represent dates without time or time zone information attached.

What I'm having to do in the meantime

I'm using a mix of custom { year: number; month: number; day: number; } objects and YYYY-mm-dd strings, and need some custom functions for checking if a date in this representation aligns with the current day based on the user's time zone.