date-formatters.ts:6:25 - error SC2020: 'Date.prototype.toLocaleDateString at locale "de-DE"' is part of the standard library types but has no scriptc lowering yet

  5 | const date = new Date(0);
  6 | date.toLocaleDateString("de-DE");
    |                         ^~~~~~~
  7 | date.toLocaleString(["en-US"]);

  hint: which locale Node picks for a requested tag is locale negotiation, which is not modelled; the default locale (no argument), "en-US" and "en" compile

date-formatters.ts:7:21 - error SC2020: 'Date.prototype.toLocaleString with a non-literal locale' is part of the standard library types but has no scriptc lowering yet

  6 | date.toLocaleDateString("de-DE");
  7 | date.toLocaleString(["en-US"]);
    |                     ^~~~~~~~~
  8 | 

  hint: the locale is decided at compile time: omit it or pass undefined for the default locale, or write "en-US" or "en"