* Parse timestamp into human-friendly date ISO8601-safe format * @param dateTime {string} - Expected ISO8601 input in UTC time: (i.e.) 2021-08-25T10:03:23Z * @returns {string} - (i.e.) '5 hrs ago'
(dateTime)
| 180 | * @returns {string} - (i.e.) '5 hrs ago' |
| 181 | */ |
| 182 | function getHumanFriendlyTimeISO8601(dateTime) { |
| 183 | return getHumanFriendlyTime(dateTime.replace('T', ' ').replace('Z', '')); |
| 184 | } |
| 185 | |
| 186 | function sortAlphabetically(list) { |
| 187 | return list.sort((a, b) => { |
nothing calls this directly
no test coverage detected