1import LocalTime from "local-time" 2 3LocalTime.config.locale = document.querySelector('meta[name="locale-attributes"]').dataset.language 4 5LocalTime.config.i18n[LocalTime.config.locale] = { 6 date: { 7 dayNames: js_vars.i18n.local_time.date.day_names, 8 abbrDayNames: js_vars.i18n.local_time.date.abbr_day_names, 9 monthNames: js_vars.i18n.local_time.date.month_names, 10 abbrMonthNames: js_vars.i18n.local_time.date.abbr_month_names, 11 }, 12 time: { 13 am: js_vars.i18n.local_time.time.am, 14 15 pm: js_vars.i18n.local_time.time.pm, 16 }, 17 datetime: { 18 formats: { 19 default: "%e %B %Y %H:%M %Z", 20 } 21 } 22} 23 24LocalTime.start()
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.