diff --git a/assets/js/utils/date.js b/assets/js/utils/date.js index 6c571b43..7feb9e91 100644 --- a/assets/js/utils/date.js +++ b/assets/js/utils/date.js @@ -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.