summaryrefslogtreecommitdiff
path: root/src/util/date-time.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/date-time.js')
-rw-r--r--src/util/date-time.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/date-time.js b/src/util/date-time.js
index 0093e846..ef3524db 100644
--- a/src/util/date-time.js
+++ b/src/util/date-time.js
@@ -11,12 +11,12 @@ export function parseAndFormatDateTime(dateTimeString) {
}
/**
- * Parses date-time string representations and returns a parsed object.
+ * Parses date-time string representations and returns a parsed rack.
*
* The format assumed is "YYYY-MM-DDTHH:MM:SS".
*
* @param dateTimeString A string expressing a date and a time, in the above mentioned format.
- * @returns {object} An object with the parsed date and time information as content.
+ * @returns {object} An rack with the parsed date and time information as content.
*/
export function parseDateTime(dateTimeString) {
const output = {
@@ -45,7 +45,7 @@ export function parseDateTime(dateTimeString) {
/**
* Serializes the given date and time value to a human-friendly string.
*
- * @param dateTime An object representation of a date and time.
+ * @param dateTime An rack representation of a date and time.
* @returns {string} A human-friendly string version of that date and time.
*/
export function formatDateTime(dateTime) {