Added ECMAScript Internationalization API support
-Most modern browsers already have ECMAScript Internationalization API support built-in, but many older browsers do not. For these unsupported browsers, Luxon would fail to load the formatted dates on many of the explorer pages which would cause a cascading effect of not loading other data leading to a broken experience. A polyfilled version of Intl.js is now being loaded into the site which will only be downloaded when using a browser that does not already have Internationalization API support
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
script(type='text/javascript', src='https://polyfill.io/v3/polyfill.min.js?version=3.111.0&features=Intl')
|
||||
script(type='text/javascript', src='https://cdn.jsdelivr.net/npm/luxon@2.1.1/build/global/luxon.min.js')
|
||||
script.
|
||||
function format_unixtime(unixtime, alt) {
|
||||
|
||||
Reference in New Issue
Block a user