lib/util: Add RFC3339 timestamp support to timeval_str_buf()
commitbcf298e7eca07a8869d184ad44c01232a11ba9ea
authorMartin Schwenke <martin@meltin.net>
Fri, 10 Oct 2014 07:46:31 +0000 (10 18:46 +1100)
committerVolker Lendecke <vl@samba.org>
Mon, 13 Oct 2014 10:27:04 +0000 (13 12:27 +0200)
tree3944dd06ed4d365067c15c3d27e3c279d942b879
parent1c2ae58509a19fb4590f4c71277c0f0c0a27f2fd
lib/util: Add RFC3339 timestamp support to timeval_str_buf()

Note that this can't be done more simply or portably with strftime(3)
since "%z" isn't portable.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Oct 13 12:27:04 CEST 2014 on sn-devel-104
lib/util/debug.c
lib/util/time.c
lib/util/time_basic.c
lib/util/time_basic.h