blob: bd4737d13d92749ab34d96610cea04d13ade4aa4 [file] [log] [blame]
Chetan Gaonker7f4bf742016-05-04 15:56:08 -07001#
2# Registers xlat to convert between time formats.
3#
4# xlat input string is an attribute name. If this attribute is of date
5# or integer type, the date xlat will convert it to a time string in
6# the format of the format config item.
7#
8# If the attribute is a string type, date will attempt to parse it in
9# the format specified by the format config item, and will expand
10# to a Unix timestamp.
11#
12date {
13 format = "%b %e %Y %H:%M:%S %Z"
14}