taviso / 123elf

A native port of Lotus 1-2-3 to Linux.
1.18k stars 59 forks source link

@DATE() Doesn't accept four digit years #35

Closed taviso closed 2 years ago

taviso commented 2 years ago

In 123R4 you can do @DATE(2022, 5, 22). 123 for UNIX only accepts two digit years, it seems to display okay (use /Range Format Date), but I'm not sure if dates spanning Y2K will sort properly?

This can probably just be patched so that @DATE() works.

I really need to make sure all the other functions are Y2K compliant 😆

taviso commented 2 years ago

I've fixed it for years up to 2100, then it's someone else's problem, sorry future descendants 😆