Back to index

natlog  0.91.0
setformat.cc
Go to the documentation of this file.
00001 #include "showseconds.ih"
00002 
00003 void ShowSeconds::setFormat()
00004 {
00005     Options::Time time = Options::instance().time();
00006 
00007     s_show = 
00008         time == Options::RAW ? rawTime :
00009                 Options::UTC ? utcTime :
00010                                localTime;
00011 
00012     if (time == Options::UTC)
00013         s_utcMarker = " (UTC)";
00014 }