https://github.com/managarm/mlibc/blob/4cd4b6338763fe983064b27d3695a68f1b81f809/options/ansi/generic/time.cpp#L37-L48