added %L modifier to PatternFormatter to switch to local time; some style fixes

This commit is contained in:
Guenter Obiltschnig
2014-09-10 08:32:25 +02:00
parent c9590ff7d4
commit a815e0a90e
2 changed files with 31 additions and 18 deletions

View File

@@ -71,6 +71,7 @@ class Foundation_API PatternFormatter: public Formatter
/// * %F - message date/time fractional seconds/microseconds (000000 - 999999)
/// * %z - time zone differential in ISO 8601 format (Z or +NN.NN)
/// * %Z - time zone differential in RFC format (GMT or +NNNN)
/// * %L - convert time to local time (must be specified before any date/time specifier; does not itself output anything)
/// * %E - epoch time (UTC, seconds since midnight, January 1, 1970)
/// * %v[width] - the message source (%s) but text length is padded/cropped to 'width'
/// * %[name] - the value of the message parameter with the given name