Document time date placeholder transforms
This commit is contained in:
1 parent
222162df57
commit
1e317997c4
4 files changed
+32
-3
No files matched your search
@@ -203,7 +203,7 @@ function getTimeDateFormattedParts(timeZone, date) {
|
||||
dddd: toTitleCase(getPart(weekdayLong, 'weekday')),
|
||||
MMM: toTitleCase(getPart(monthShort, 'month')),
|
||||
MMMM: toTitleCase(getPart(monthLong, 'month')),
|
||||
a: toTitleCase(getPart(ampm, 'dayPeriod')),
|
||||
a: String(getPart(ampm, 'dayPeriod') || '').toLowerCase(),
|
||||
tz: getPart(timezoneShort, 'timeZoneName'),
|
||||
tz_long: resolvedTimeZone,
|
||||
date: getPart(numericParts, 'year') + '-' + getPart(numericParts, 'month') + '-' + getPart(numericParts, 'day'),
|
||||
|
||||
Reference in new issue
Block a user