Today I learned that glibc has a broken %s implementation in strftime. It applies the timezone even when we want UTC...
Today I learned that glibc has a broken %s implementation in strftime. It applies the timezone even when we want UTC...
@bagder Man page says "The number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). (TZ) (Calculated from mktime(tm).)"
Everything there suggests timezone is applied.
Not even arguing if that makes sense, just that it is documented to do that.