Mercurial > gemma
view client/src/lib/datelocalization.js @ 5356:3216b4a19023 extented-report
spinner added to info tool's download link for DQL reports
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 22 Jun 2021 14:44:34 +0200 |
parents | 13575ffb8c1f |
children |
line wrap: on
line source
import app from "@/main"; const localeDateString = { dateTime: "%a %e %b %X %Y", date: "%d/%m/%Y", time: "%H:%M:%S", periods: [app.$gettext("AM"), app.$gettext("PM")], days: [ app.$gettext("Sunday"), app.$gettext("Monday"), app.$gettext("Tuesday"), app.$gettext("Wednesday"), app.$gettext("Thursday"), app.$gettext("Friday"), app.$gettext("Saturday") ], shortDays: [ app.$gettext("Sun"), app.$gettext("Mon"), app.$gettext("Tue"), app.$gettext("Wed"), app.$gettext("Thu"), app.$gettext("Fri"), app.$gettext("Sat") ], months: [ app.$gettext("January"), app.$gettext("February"), app.$gettext("March"), app.$gettext("April"), app.$gettext("May"), app.$gettext("June"), app.$gettext("July"), app.$gettext("August"), app.$gettext("September"), app.$gettext("October"), app.$gettext("November"), app.$gettext("December") ], shortMonths: [ app.$gettext("Jan"), app.$gettext("Feb"), app.$gettext("Mar"), app.$gettext("Apr"), app.$gettext("May"), app.$gettext("Jun"), app.$gettext("Jul"), app.$gettext("Aug"), app.$gettext("Sep"), app.$gettext("Oct"), app.$gettext("Nov"), app.$gettext("Dec") ] }; export { localeDateString };