@msmcknight wrote:
When I try to use the Sangoma Wake Up Call v13.0.16 module, the times used and reported are all over the place.
For example,
At 3:00am Saturday Oct 2, I set a wake up call. It went like this...
For a wake-up call, press 1
Please enter the time for your wake up call
(...I entered 0930...)
Wake up call added at 5:30am Sunday Oct 2
...what the heck? It subtracted 4 hours from what I typed in.But - if I look at the admin gui under the Hotel Wake Up Call screen "Call List", I see the call is set for 0930 as requested.
It gets worse... I tried it again...
For a wake-up call, press 1
Please enter the time for your wake up call
(...I entered 0330...)
Wake up call added at 11:30pm Sunday Oct 2... this time it added 20 hours!!!
But again, if I look in the gui, it shows the correct time.
At first I thought there was a timezone setting missing somewhere in the OS, but the "date" command returns the correct time, date and timezone.
So... I started looking internally at freepbx and found the PHP Timezone setting under SETTINGS->ADVANCED SETTINGS. It was set to UTC. When I changed it to "America/New_York", this crazy behavior stopped.
It seems like there may be a bug with how it's handling UTC -- ie how did 0930 get changed to 0530, but 0330 gets changed to 23:30.
Has anyone else seen this, or can explain it... or have I just lost my mind.
Thanks,
-Michael
Posts: 2
Participants: 2