Constructor
new module:br-formatting /Date Formatter()
- Implements:
- Deprecated:
- The functionality provided by this formatter can be achieved more reliably with
module:br-formatting/LocalisedDateFormatter
- The functionality provided by this formatter can be achieved more reliably with
Methods
format(vValue, mAttributes)
Formats a date by converting it from a specified input format to a new output format.
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
vValue |
string | Date | the input date |
||||||||||||||||||||
mAttributes |
object |
the map of attributes. Properties
|
- Implements:
Returns:
the output date.