Unix Timestamp Markdown - Add Relative Live Update + more accuracy #3352
-
Description Currently, relative timestamps ( Furthermore, it might be useful to select how detailed the relative timestamp should be. Eg. when 1 hour 21mins 20 seconds are left it will show Why This is Needed This offers a way to show a countdown eg. how long it takes until an event happens without any interaction from the bot or the user. The more detailed relative time information is useful for smaller time deltas eg. below 1h |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 1 reply
-
Just as information, the relative timestamp does update without a client reload. When you hover over the timestamp (or it may be anywhere in the message containing the timestamp) it updates. It also updates after you switch channels and come back. |
Beta Was this translation helpful? Give feedback.
-
My bad. I just tested it on mobile (IOS) On Desktops and Web it seems to update on interaction, but on mobile it doesn't. |
Beta Was this translation helpful? Give feedback.
-
Fixing the refresh and showing individual seconds are both planned. Additional formats are not, due to how the locale specific formatting works. |
Beta Was this translation helpful? Give feedback.
-
I think the plans could change once |
Beta Was this translation helpful? Give feedback.
-
While additional formats are not planned. Could you think about that for a Long Date that includes day of the week display without the time ? Maybe theres a chance to reconsider. I feel like theres no good reason to not allow that, but I don't have all the info to make that judgement. |
Beta Was this translation helpful? Give feedback.
-
Adding onto this, is it possible that current time will be added? |
Beta Was this translation helpful? Give feedback.
-
How about precision in seconds? Something like |
Beta Was this translation helpful? Give feedback.
-
The relative countdown still doesn't work properly on the mobile client, it only updates upon initially loading the message as stated by Luc1412 Is there any fix planned for this? I currently have a bot that uses this timestamp and it's very confusing to mobile users. |
Beta Was this translation helpful? Give feedback.
-
Hi guys, I try to made a countdown with unix timestamp. I want to know if you steel implementing a solution for mobile that refresh automatiquely the composant. Thanks for your reponse |
Beta Was this translation helpful? Give feedback.
Fixing the refresh and showing individual seconds are both planned. Additional formats are not, due to how the locale specific formatting works.