filmov
tv
Timezone In Date .toTimeString() Is Not Always An Abbreviation In JavaScript

Показать описание
Ben Nadel demonstrates that the timezone portion of the Date .toTimeString() method in JavaScript is not always represented as an abbreviation. Therefore, if you're parsing the time string to extract the timezone, you may have to use a more flexible Regular Expression pattern and do some post-parsing normalization.