Files
homelabdspbx/app/time_conditions
Mendel 7f09914d27 Fix date-time conditions to respect domain timezone by converting to/from UTC (#7728)
Fixes date-time conditions to properly convert between the domain timezone and UTC.

Issue:
Date-time conditions triggered at the wrong times because FreeSWITCH evaluates them in UTC, but the user input was not being converted.

Solution:
    Convert user timezone → UTC when saving
    Convert UTC → user timezone when displaying
    Use settings object cascading for timezone (user → domain → global → default)
    Handle both 12h and 24h formats

Testing:
Set time condition for 9:00 AM in America/New_York timezone - should trigger at 9:00 AM local time, not UTC.
2026-04-13 10:43:02 -06:00
..
2017-01-13 00:18:36 -07:00
2025-11-02 00:22:57 -06:00