Daylight saving bug? Or working as designed?
-
I wrote an in-house Overtime system for our workers. One particular shift is a 24-hour on-call, which is typically 8am to 8am the next day. A worker happened to do an on-call shift 3/10 8am to 3/11 8am, and the system said it was invalid--because he only did 23 hours due to the clocks being moved forward! Once he changed the end time to 9am, it worked. Strictly speaking, the system is correct--but it sure looks weird.
-
I wrote an in-house Overtime system for our workers. One particular shift is a 24-hour on-call, which is typically 8am to 8am the next day. A worker happened to do an on-call shift 3/10 8am to 3/11 8am, and the system said it was invalid--because he only did 23 hours due to the clocks being moved forward! Once he changed the end time to 9am, it worked. Strictly speaking, the system is correct--but it sure looks weird.
Hmmm... one of those annoying issues. 'Work' a full shift, but on that day, it's only 23 hours.. and in the Autumn, it's 25 hours. What happens if there is overlap for users? This user entered 8:00 AM to 9:00 AM, presumably, someone else may have worked from 8:00 AM on during the same hour.
-
I wrote an in-house Overtime system for our workers. One particular shift is a 24-hour on-call, which is typically 8am to 8am the next day. A worker happened to do an on-call shift 3/10 8am to 3/11 8am, and the system said it was invalid--because he only did 23 hours due to the clocks being moved forward! Once he changed the end time to 9am, it worked. Strictly speaking, the system is correct--but it sure looks weird.
DST is evil; don't do it. Or at least convert everything to UTC and call it good.
-
DST is evil; don't do it. Or at least convert everything to UTC and call it good.
UTC, agreed.
-
I wrote an in-house Overtime system for our workers. One particular shift is a 24-hour on-call, which is typically 8am to 8am the next day. A worker happened to do an on-call shift 3/10 8am to 3/11 8am, and the system said it was invalid--because he only did 23 hours due to the clocks being moved forward! Once he changed the end time to 9am, it worked. Strictly speaking, the system is correct--but it sure looks weird.
-
I wrote an in-house Overtime system for our workers. One particular shift is a 24-hour on-call, which is typically 8am to 8am the next day. A worker happened to do an on-call shift 3/10 8am to 3/11 8am, and the system said it was invalid--because he only did 23 hours due to the clocks being moved forward! Once he changed the end time to 9am, it worked. Strictly speaking, the system is correct--but it sure looks weird.
-
DST is evil; don't do it. Or at least convert everything to UTC and call it good.
Actually - just make it permanent and call it "The New Standard Time" (good start for TV Series?) It's absolutely great leaving (I cut out at 15:00) and having that bright sunshine, hours of it, ahead of me.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
Internals in UTC, presentation in local time.
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
-
den2k88 wrote:
Internals in UTC, presentation in local time.
The presentation still wouldn't add up...just make presentation UTC as well...they'll get used to it! No more DST problems! :laugh:
"Go forth into the source" - Neal Morse
If the presentation doesn't add up due to DST shenanigans it's not a problem - presentation is for the human user who could use his human brain to take into account the reason of discrepancy.
kmoorevs wrote:
make presentation UTC as well...they'll get used to it!
Empyrical proof taught me that this is not the case, unfortunately :D
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
-
Actually - just make it permanent and call it "The New Standard Time" (good start for TV Series?) It's absolutely great leaving (I cut out at 15:00) and having that bright sunshine, hours of it, ahead of me.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
I generally work 07:00 to 15:30 . No need to change your clock or insist that other do.