pistolero (p@fsebugoutzone.org)'s status on Thursday, 07-Nov-2024 13:33:47 JST
-
Embed this notice
@karna @EdBoatConnoisseur @skylar @theorytoe
> Also did you see the recent-ish guadec talk about all the edge cases that happen in developing a calendar. Was pretty funny what with the strange timezones that exist.
I wrote a thing to allow lawyers to sell time; a client provided services to lawyers and they wanted to make it easy to do something like sell a monthly subscription, where they'd do document review and then you could get some number of 15-minute consultations per month. So the lawyers would set up a time, they'd describe their schedule like they would do Tuesday and Thursday afternoons.
Here's something: the reason every startup in San Francisco has "a Delaware Limited Liability Corporation" on their "Legal" page is that they are all incorporated in Delaware, because VCs insist on it. Delaware is one of two states that doesn't require a corporation to disclose its owners and VCs won't invest if they can't lie about what they own and how much of it they own. Delaware, consequently, has a large industry of lawyers that just maintain P.O. boxes and act as the registered agent for a thousand shitty LLCs.
So the situation you have to handle is a lawyer drags out "2 p.m. to 5 p.m." on the "Tuesday" and "Thursday" slots in a calendar, they're in one timezone, and a client in another timezone (possibly with different DST rules) wants to schedule a call, and you need to present them with five boxes to click on that have available time slots. This is a nightmare to actually build.
global-DST.jpg