this post was submitted on 18 Apr 2024
944 points (96.2% liked)

Science Memes

10988 readers
2005 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
[–] [email protected] 12 points 7 months ago (3 children)

Developers are the only people against DST changes, just because of how complex it will get. Dear God cities are removing DST! Cities! It means I need to know if you are in or out of a city to know if you need to be shown daylight or standard time!

Just please do it nationally yes or no

[–] [email protected] 5 points 7 months ago

Dear God cities are removing DST! Cities! It means I need to know if you are in or out of a city to know if you need to be shown daylight or standard time!

That's why it's lucky that identifiers in the tz database are already things like America/New_York instead of "eastern time."

[–] [email protected] 22 points 7 months ago (2 children)

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

Life problems solved

[–] [email protected] 2 points 6 months ago (1 children)

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

[–] [email protected] 1 points 6 months ago (1 children)
[–] [email protected] 3 points 6 months ago* (last edited 6 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.

[–] [email protected] 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
[–] [email protected] 1 points 7 months ago (1 children)

Newfoundland has only just over 500k population and has a nice GMT-2:30 time zone. That's an extra half hour difference. Many cities are larger so I can see them wanting better time for themselves.

[–] [email protected] 3 points 6 months ago

Ugh. Any time I need to set up a meeting for IST.