Post #2991961
2024-07-27 22:54 UTC
@DanadasGrau@mastodon.social @shac@ioc.exchange @skaverat@skaverat.net if they're storing a signed timestamp, a birthdate of 1970-01-01 will be zero rather than a positive or negative number, so this may lead to business logic wackiness.
Replies (1)
-
@wilbr@glitch.social 2024-07-27 22:59
@gsuberland@chaos.social @DanadasGrau@mastodon.social @shac@ioc.exchange @skaverat@skaverat.net any logic would have to be in confusing a 0 for a NULL though, which would hopefully be resolved long before this particular issue came up. (For starters, if a birthday isn't required, users would get tired quickly of seeing tons of people born in 1970 who weren't. And math isn't done super often on birthdays except to display an age, so it'd be mostly benign)