StackExchange sites - convert dates to local timezone

Converts dates to your local timezone

Устаревшая версия за 15.12.2015. Перейдите к последней версии.

Автор
darkred
Оценки
0 0 0
Версия
1
Создано
15.12.2015
Обновлено
15.12.2015
Размер
3,3 КБ
Лицензия
нет данных
Работает на

This script applies to StackExchange sites stackoverflow.com, stackexchange.com, superuser.com, etc. The timezone that the StackExchange sites use is UTC i.e. +0000 (source) So, this script converts the dates to your local timezone, in both:

  • tooltips 2015-12-14 14:11:13Z, and in
  • date text like Dec 14 at 14:11.

It also recalculates them whenever the page changes.


It uses the jsTimezoneDetect JavaScript script (for getting the local timezone), and the Moment.js and Moment-Timezone JavaScript libraries (for converting the dates).