PHP ignores the host time zone: without date.timezone in php.ini (the
installer does not set it) it uses UTC, so session labels, event times,
the hour nodes and the live log were shown in UTC while la_mojo names
report folders/files in local time.
- lib/php/host_timezone.php: sets PHP's default time zone from the host
(/etc/localtime as maintained by timedatectl, then /etc/timezone, then
TZ); loaded right after settings.php by ajax_asm, assembler, js_asm,
soap_asm and ui_asm; added to files.list.
- Calendar day key: getHistoryDates returns the host-local noon of each
day and getHistoryDay uses it directly. The old "local midnight +
current UTC offset" (applied twice) only worked east of UTC and could be
off by a day across a DST change.
- Video download file name uses the host-local time from getVideoInfo
instead of the browser's time zone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16