@@Gagamehl
ich habe ein Problem, die genaue Differenz zwischen zwei Daten in Jahr, Monat und Tag in javascript genau auszugeben.
Das geht mit der neuen Temporal-API inzwischen sehr einfach:
Sehr nett.
Wobei „inzwischen“ Safari noch ausklammert, also auch alle iPhones und iPads.
Und laut Can I Use auch Opera? Ist das nicht ein Chromium? Ist das in Chromium vorhandene Feature in Opera noch nicht aktiviert?
const damals = Temporal.PlainDate.from({ year: 2007, month: 8, day: 13, });
Und endlich mal ein Stück Software, das mit Datumsangaben richtig umgehen kann. Die 8 steht hier für August, nicht für September.
🖖 Live long and prosper
--
In our chants of “ICE out now”
Our city’s heart and soul persists
Through broken glass and bloody tears
On the streets of Minneapolis
— Bruce Springsteen, Streets of Minneapolis
In our chants of “ICE out now”
Our city’s heart and soul persists
Through broken glass and bloody tears
On the streets of Minneapolis
— Bruce Springsteen, Streets of Minneapolis