this post was submitted on 18 Apr 2024
925 points (96.1% liked)

Science Memes

11217 readers
2300 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ryannathans@aussie.zone 22 points 7 months ago (2 children)

Write everything in UTC, cast to local time zone for UIs

Life problems solved

[–] ulterno@lemmy.kde.social 3 points 7 months ago

That's essentially what I did in my recent UI that I made for someone.

  • You want to insert date time
  • Select method: UTC, Time Zone, offset from GMT
  • Enter time
  • I convert it to UTC and send to backend
[–] MotoAsh@lemmy.world 2 points 7 months ago (1 children)

That... still requires knowing which time zone to display. It doesn't remove the requirement at all.

[–] ryannathans@aussie.zone 1 points 7 months ago (1 children)
[–] MotoAsh@lemmy.world 3 points 7 months ago* (last edited 7 months ago)

and who implements localtime? You realize these functions call down to the system, and the system is very much ALSO written and maintained by coders...

The point is SOMEONE actually does have to implement it and maintain it.