Private
datePrivate
displayPrivate
timezonePrivate
timezoneStatic
createCreate a Date object fixed to it's declared Timezone. Both
The implementation hack:
Instead of calling .getMonth()
/.getUTCMonth()
respect to preserveTimezones
,
we create a different Date to trick strftime, it's both simpler and more performant.
Given that a template is expected to be parsed fewer times than rendered.
Static
Private
getGenerated using TypeDoc
A date implementation with timezone info, just like Ruby date
Implementation: