Daylight not working

Status
Not open for further replies.

topogigio

Member
Jun 17, 2019
68
0
6
58
Hi,
I need some help about daylight. It seems not working on my server :(

In default settings I have daylight enabled, with start at day 15 month 3, weekday 7, time 2
I also have timezone as "Europe/Rome" +2. I noticed that time conditions are not working as expected and if I call *9170 I get a wrong time (an hour forward, as daylight not existing). If I change timezone to "Europ/London" +1 I get right time. So it seems that daylight is ignored.
Debian reports right time as CES timezone.

What's wrong?
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,505
420
83
You can test if daylight is being ignored with two commands, I am in the UK (GMT), here is what my server shows:
Code:
root@test-blue:~# date
Thu  2 Apr 13:14:46 BST 2020
root@test-blue:~# date -u
Thu  2 Apr 12:14:52 UTC 2020
 

topogigio

Member
Jun 17, 2019
68
0
6
58
:~# date
Thu Apr 2 14:34:53 CEST 2020
:~# date -u
Thu Apr 2 12:34:55 UTC 2020

14:34 is right
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,505
420
83
Ok, your server time looks fine, that's exactly what I would expect to see for CEST at this time of year. What time does FreeSWITCH think it is? You can check this by connecting to the fs_cli and issuing the command strftime
(/quit gets you out of the fs_cli BTW).
 

topogigio

Member
Jun 17, 2019
68
0
6
58
mm
that's quite strange:
freeswitch@> strftime
2020-04-02 15:57:22

:~# date
Thu Apr 2 15:57:27 CEST 2020
this after I re-assigend in Fusion Europe/Rome as timezone an hour ago. Maybe this has forced some internal update to apply the daylight?

I have only timezones that work during launch so I cannot perform again the test that today was wrong.
 
Status
Not open for further replies.