Hacker News new | ask | show | jobs
by sedatk 35 days ago
Off-topic but, Safari seems to be the only browser that doesn't support Temporal yet. It looks like the only blocker for adopting it on web.

https://caniuse.com/?search=Temporal

2 comments

Should be easy enough to detect/polyfill...

    if (!globalThis.Temporal) {
      // await import('temporal-polyfill/global');
      await import('https://cdn.jsdelivr.net/npm/temporal-polyfill@0.3.0/global.min.js'); 
    }
No but Google wants to control the Web (they do).