Post by iconPost by GeGaX | 2018-07-23 | 18:47:30

Hi Cvetan 😉,
Just to warn you that the times indicated for the DRHEAM Cup are good but with the indication CET and not CEST which could mislead those who have to convert.

I'm back from vacation so I'll get back on the extension (fix the scale bug and finish working on the css) 😊

commenticon 2 Comments
Post by iconPost by zezo | 2018-07-23 | 18:53:02
Thanks. Fixed. All calculations are automated but the TZ label is static, and I've copied a race from May as a base for this one.
Post by iconPost by GeGaX | 2018-07-23 | 19:56:46
You could use the moment-timezone.js and later.js libraries to handle CET / CEST and UTC.

I had to go by moment-timezone.js to properly manage "Local Time" for the extension is not that complex and it returns exactly what it takes.
You can format the date and time as you want (I used the same format as you) but I did not use later.js to have the timezone CET / CEST or other I preferred a UTC±XX:XX display 😉
border
Topics list
Posts
border
1
border
border
5
border
border
Copyright 2009 by ZEZO.ORG. All Rights Reserved.