by ABoldGambit · 6y ago · 0 comments
import Temporal from "js:temporal";
1: https://github.com/tc39/proposal-built-in-modulesJava really did a good job here: Instant, LocalDate, LocalDateTime, ZonedDateTime. (If they hadn't already had java.util.Date, they probably could've replaced LocalDate/LocalDateTime with Date/DateTime, but that ship sailed).