Hacker News new | ask | show | jobs
by hobbified 4187 days ago
Anything at all with strftime: Use %Y instead of %G. It's a C function, but many languages (Perl/Python/Ruby/etc.) expose it through their own datetime libraries.