format

Namespaces

format
time

Methods

(inner) _cleanSpecialChars(timeStr) → {string}

Source:

Remove unneeded and problematic special characters in (date)time string.

Parameters:
Name Type Description
timeStr string

(date)time string to clean up

Returns:

transformed (date)time string with removed unneeded special characters that cause issues

Type
string

(inner) _getCleanLocalTime(dt) → {string}

Source:

Transforms time to a cleaned-up localized time.

Parameters:
Name Type Description
dt Date

date object

Returns:

cleaned-up localized time

Type
string