Methods
is Single Use Parser()
- Implements:
parse(date, attributes) → {string}
Matches a date string and converts it to a specified output format.
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
date |
string | The date to parse |
||||||||||||||||||||||||||||||
attributes |
object |
Map of configuration options Properties
|
- Implements:
Returns:
The date, expressed in the output format
- Type
- string