Метод applyViewerOffset
Сигнатура метода
protected function applyViewerOffset(int $timestamp): int
Возвращает:
int
Описание
A pure date has no time-of-day (it is always 00:00:00 of the day), so the viewer timezone must not shift it onto an adjacent day. Overridden for datetime values.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$timestamp
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/StorageField/Converter/DateConverter.php
Расположение метода в файле
Строки
74–77