Bugzilla@Mozdev – Bug 26628
%dateshort% and %datelocal% omit time portion
Last modified: 2019-07-28 06:47:29
You need to log in before you can comment on or make changes to this bug.
%dateshort% and %datelocal% only output the date. Expected behavior - they should also output a time.
Created an attachment (id=8577) [details] 2.1 pre 21 Here is a first implementation using the localized date formats described at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat Settings for time: hour12: false, hour: "numeric", minute: "2-digit", dateStyle: "full" Settings for date - datelocal: dateOptions.weekday = "long"; dateOptions.day = "numeric"; dateOptions.month = "short"; dateOptions.year = "numeric"; Settings for date - dateshort: dateOptions.day = "numeric"; dateOptions.month = "numeric"; dateOptions.year = "numeric"; I do not know what the default should be here, but the older settings dateStyle: "full", timeStyle: "long" don't seem to be supported anymore.
Resolved Fixed: Release 2.1 - 28/07/2019