diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-07 11:38:42 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:58 +0200 |
| commit | e9909159dc5db91eda12437e18c1474cae848af7 (patch) | |
| tree | f34e0ca56b666f6a4ab1022e58a6dcd84b779725 /src/util/date-time.js | |
| parent | d5a92d3006561fd631279b68b23a1f8075b28bb8 (diff) | |
Implement first machine slot listing
Diffstat (limited to 'src/util/date-time.js')
| -rw-r--r-- | src/util/date-time.js | 6 |
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) { |
