parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

Ответ

moko 02.08.2016 13:24

Еще тогда вопрос - как оно считает TZ вида MSK+2
"задав системное имя нового часового пояса. Список имен см. в документации на вашу операционную систему, ключевые слова: «Переменная окружения TZ»."

Все на откуп OS, мы просто ставим переменную окружения.

"The value of TZ can be one of three formats. The first format is used when there is no daylight saving time in the local timezone:

std offset

The std string specifies the name of the timezone and must be three or more alphabetic characters. The offset string immediately follows std and specifies the time value to be added to the local time to get Coordinated Universal Time (UTC). The offset is positive if the local timezone is west of the Prime Meridian and negative if it is east. The hour must be between 0 and 24, and the minutes and seconds 0 and 59. "