From e9909159dc5db91eda12437e18c1474cae848af7 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 7 Sep 2017 11:38:42 +0200 Subject: Implement first machine slot listing --- src/util/date-time.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/util/date-time.js') 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) { -- cgit v1.2.3