WorldTime (Cyprus)

Post Reply
phqfh
Newbie
Newbie
Posts: 5
Joined: Fri Feb 09, 2018 5:36 pm
Station model: Davis vantage vue
Software: VWS Hopefully

WorldTime (Cyprus)

Post by phqfh » Thu Mar 08, 2018 1:22 pm

Am i Missing something?
The worldTime works fine after adding London and Paris but when I add Cyprus it stops working. I have edited the "settings2.php" as follows:
$locations [] = array("London",51.48,0.0,"Europe/London",'uk');
$locations [] = array("Brno",49,16,"Europe/Prague",'cz');
$locations [] = array("New York",40.71,-74,"America/New_York",'us');
$locations [] = array("Tokyo",35.68,139.68,"Asia/Tokyo",'jp');
$locations [] = array("Sydney",-33.86,151.20,"Australia/Sydney",'au');
$locations [] = array("Johannesburg",-33.92,18.42,"Africa/Johannesburg",'za');

That works ok but when I add Cyprus as below it stops working.
$locations [] = array("London",51.48,0.0,"Europe/London",'uk');
$locations [] = array("Brno",49,16,"Europe/Prague",'cz');
$locations [] = array("Paris",48.86,2.35,"Europe/Paris",'fr');
$locations [] = array("Cyprus",35.13,33.42,"Europe/Cyprus",'cy');
$locations [] = array("Moscow",55.75,37.62,"Europe/Moscow",'ru');
$locations [] = array("New York",40.71,-74,"America/New_York",'us');
$locations [] = array("Tokyo",35.68,139.68,"Asia/Tokyo",'jp');
$locations [] = array("Sydney",-33.86,151.20,"Australia/Sydney",'au');

Regards
Paul
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: WorldTime (Cyprus)

Post by Jachym » Thu Mar 08, 2018 2:54 pm

You need to use a timezone that is supported by PHP. So choose one from the list below that corresponds to the same time

http://php.net/manual/en/timezones.europe.php

Post Reply