diff options
author | Benoit Foucher <benoit@zeroc.com> | 2003-05-18 17:23:46 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2003-05-18 17:23:46 +0000 |
commit | c1b7cf35ad150fc58143018b6a1257b01b0ea645 (patch) | |
tree | 2b59fdcafd5b3dcac2475c5deb5bfbe32ba09a5e /cpp/src/IceUtil/Time.cpp | |
parent | VC++ 7.1 port (diff) | |
download | ice-c1b7cf35ad150fc58143018b6a1257b01b0ea645.tar.bz2 ice-c1b7cf35ad150fc58143018b6a1257b01b0ea645.tar.xz ice-c1b7cf35ad150fc58143018b6a1257b01b0ea645.zip |
Use %x to display the date
Diffstat (limited to 'cpp/src/IceUtil/Time.cpp')
-rw-r--r-- | cpp/src/IceUtil/Time.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/Time.cpp b/cpp/src/IceUtil/Time.cpp index 99cdb428374..a056d93bf12 100644 --- a/cpp/src/IceUtil/Time.cpp +++ b/cpp/src/IceUtil/Time.cpp @@ -106,7 +106,7 @@ IceUtil::Time::toString() const #endif char buf[32]; - strftime(buf, sizeof(buf), "%Y %H:%M:%S", t); + strftime(buf, sizeof(buf), "%x %H:%M:%S", t); std::ostringstream os; os << buf << ":"; |