News for hackers. Stuff that matters.
Re:Designing the Perfect Date and Time Picker (2017) by scottlamb on Tuesday May 19, 2020 @08:27PM (#23242012)
On this subject: does anyone have an example of a time picker that supports unambiguously picking a time in the "fall back" hour in political timezones with daylight saving time part of the year? I've never actually seen one. It's only relevant for one hour out of the year, so you want it to be unobtrusive (maybe invisible) most of the time, and intuitive when it's relevant.
Re:Designing the Perfect Date and Time Picker (2017) by Mountain_Skies on Tuesday May 19, 2020 @11:15PM (#23242960)
More than a couple of our vendors have been frustrated by my insistence that they properly support daylight saving time. Both switch overs have their own set of unique potential problems but if a vendor has an API as part of their product and we're going to build automation on top of it, this twice a year undefined behavior generator isn't acceptable. It surprises me how many companies seem to have an severe allergy to using UTC or even including TZ data with their time/date data.
Re:Designing the Perfect Date and Time Picker (2017) by dexwiz on Tuesday May 19, 2020 @08:52PM (#23242185)
Most libraries like Java time choose the earlier timezone (summer) by default, but allow an override. If the date picker parses text you can usually force it to one of the two times pass explicitly setting the offset.