Hacker Newsnew | past | comments | ask | show | jobs | submit | fabon's commentslogin

Actually most APIs of JavaScript are implemented in C++ in modern browsers, not in JS. I guess adopting Rust isn't an obstacle for performance.


I think this is intentional design. Anyway we can convert `Temporal.PlainDate` to other calendars explicitly (I believe explicitness is good here).

  today.withCalendar('hebrew').toLocaleString("en", { calendar: "hebrew" });
  // "22 Adar 6329"


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: