mattermost-community / mattermost-plugin-walltime

Timezone Message Convert for Mattermost 🕛 🕒 🕕 🕘
Apache License 2.0
26 stars 14 forks source link

IST is not converting correctly? #33

Open jayenashar opened 3 years ago

jayenashar commented 3 years ago

IST is indian standard time as far as i know, but it's not converting right. WAT and AEST are working fine.

12pm IST (Thu, Apr 22, 2021 9:00 PM AEST)

jayenashar commented 3 years ago

oh i see. abbreviations are ambiguous: https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations

i'm using IST and CST quite often. is there something else i can use which is not ambiguous?

jayenashar commented 3 years ago

i found that i can use MMT instead of IST, but there's no substitute for CST :(

jayenashar commented 3 years ago

nevermind i can't use MMT. that's an hour ahead of IST. Asia/Kolkata isn't working nor is +0630

gohrner commented 2 years ago

@jayenashar : Did you find any solution so far? I'll also need to convert IST (as in "Indian Standard Time")...

Maybe the abbreviations can be adjusted in the plugin?

jayenashar commented 2 years ago

@gohrner for IST we are using 4:30am GMT+0530 IST

gohrner commented 2 years ago

I just noticed that this problem should be fixed in chrono since 2018: https://github.com/wanasit/chrono/issues/254

(Before, it was Irish Standard Time, after this fix it's supposed to be Indian Standard Time at UTC +5:30h.)

Addendum: Ok, the released walltime plugin version actually uses a version of chrono-node which is too old. Current master however uses a sufficiently recent version, so should work correctly with IST as "Indian Standard Time".

KlavsKlavsen commented 2 years ago

So a new release would be nice :)

jayenashar commented 2 years ago

even the latest "release" in github isn't released. i just built com.mattermost.walltime-plugin-0.1.1.tar.gz with the latest code. uploading and overwriting the existing one worked for me