diff options
Diffstat (limited to 'web_src/js/features/formatting.js')
-rw-r--r-- | web_src/js/features/formatting.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/web_src/js/features/formatting.js b/web_src/js/features/formatting.js index c8f5db9e14..837e323376 100644 --- a/web_src/js/features/formatting.js +++ b/web_src/js/features/formatting.js @@ -1,7 +1,6 @@ import {prettyNumber} from '../utils.js'; const {lang} = document.documentElement; - const dateFormatter = new Intl.DateTimeFormat(lang, {year: 'numeric', month: 'long', day: 'numeric'}); const shortDateFormatter = new Intl.DateTimeFormat(lang, {year: 'numeric', month: 'short', day: 'numeric'}); const dateTimeFormatter = new Intl.DateTimeFormat(lang, {year: 'numeric', month: 'short', day: 'numeric', hour: 'numeric', minute: 'numeric', second: 'numeric'}); |