mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-29 18:12:48 +03:00
The format method access a date object as well.
This commit is contained in:
parent
9467113ad9
commit
fe7d6de462
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ window.App.Utils.Date = (function () {
|
|||
/**
|
||||
* Format a YYYY-MM-DD HH:mm:ss date string.
|
||||
*
|
||||
* @param {String} dateValue The date string to be formatted.
|
||||
* @param {String|Date} dateValue The date string to be formatted.
|
||||
* @param {String} [dateFormatType] The date format type value ("DMY", "MDY" or "YMD").
|
||||
* @param {String} [timeFormatType] The time format type value ("regular", "military").
|
||||
* @param {Boolean} [withHours] Whether to add hours to the returned string.
|
||||
|
|
Loading…
Reference in a new issue