A5.d.date.calendar.extendedformats Namespace
Description
Formats to use in extended calendar dates. Used by Date.toCalendar. See Date.toFormat.
Properties
- timestring
The date format to use for the time part of a calendar date. The default is "h:0mam".
- daystring
The date format to use for a calendar date that is within a week (or week from) the current date. This is combined with templates to get results like "last Friday". The default is "Weekday".
- monthstring
The date format to use for a calendar date that is within the same month as the current date. The default is "Weekday t\\he x".
- yearstring
The date format to use for a calendar date that is within the same year as the current date. The default is "Weekday t\\he x of Month".
- longerstring
The date format to use for a calendar date that is not in the same year as the current date. The default is "Weekday t\\he x of Month yyyy".