diff options
author | Wolfgang Hommel <wolfgang.hommel@unibw.de> | 2019-08-20 18:07:17 +0200 |
---|---|---|
committer | Wolfgang Hommel <wolfgang.hommel@unibw.de> | 2019-08-20 18:07:17 +0200 |
commit | e85863f671cfe7ae6e48eae4696b4946e5cf632e (patch) | |
tree | c4e11e803337b3a91dd76a8a7f68f068bd2c05c9 /README | |
parent | d5c00506844220a8cc0d709420c48d1bf1567660 (diff) | |
download | libfaketime-e85863f671cfe7ae6e48eae4696b4946e5cf632e.tar.gz |
Added note regarding leap year handling in documentation (#145)
Diffstat (limited to 'README')
-rw-r--r-- | README | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -224,6 +224,11 @@ optionally followed by a multiplier: export FAKETIME="-10m" sets the faked time 10 minutes behind the real time. export FAKETIME="+14d" sets the faked time to 14 days in the future. + Please note that if you need other multipliers (weeks, months etc.) or higher + precision (e.g., correct leap year handling), you should use either the + faketime wrapper or the GNU date command as shown in the first of the three + examples below. + You now should understand the complete example we've used before: LD_PRELOAD=/usr/local/lib/libfaketime.so.1 FAKETIME="-15d" date |