Timezones for absolute dates
The README doesn't mention the possibility of setting the timezone with absolute dates in the FAKETIME envar. I did some cursory tests with appending "GMT", "UTC", "CDT", "PDT", etc., which all worked.
UTC Offset like "+3:00" also worked.
When I tried tz database time zone names, like "America/Chicago", it wouldn't accept it.
Can we please update the README to exhaustively reflect what is and what isn't possible with timezones for absolute dates?
As also discussed at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907264 libfaketime internally uses strptime() to parse FAKETIME, and unfortunately that seems to be rather platform-specific and also glibc-version-specific on platforms that use glibc.
Putting that into libfaketime's README 'exhaustively' will be quite some work, especially to keep it consistent over time. I'll happily consider a PR if you want to give it a try; but maybe a reference to one's local strptime() man page would suffice?!
I see your point about 'exhasutive' being folly. Perhaps then just a blurb that using a timezone with an absolute date is possible, per your local implementation of strptime()
Playing around some more, I've found this needs a lot more testing before I can recommend a documentation change. I was mixing test cases between libfaketime and the faketime utility. I failed to understand earlier they parse the date different.
libfaketime, when reading from the FAKETIME envar seems to ignore anything after the seconds field and uses the OS timezone. At least on CentOS 6.
If I ever find something more inclusve, I'll open a new issue then. Sorry for the bother!