MINOR: samples: add two converters for the date format
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Jul 2014 14:37:47 +0000 (16:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Jul 2014 14:43:44 +0000 (16:43 +0200)
commit0dbfdbaef1e78261b20c01674b5090cf2926d972
tree0bc75af4de1590aee6079ebbf69acef5a155187c
parentd9f316ab83d12cbb871cb42a408fbf7366307db3
MINOR: samples: add two converters for the date format

This patch adds two converters :

   ltime(<format>[,<offset>])
   utime(<format>[,<offset>])

Both use strftime() to emit the output string from an input date. ltime()
provides local time, while utime() provides the UTC time.
doc/configuration.txt
src/sample.c