ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Stamp.cpp
(Generate patch)

Comparing trunk/Stamp.cpp (file contents):
Revision 21 by douglas, 2004-07-16T23:37:41-07:00 vs.
Revision 24 by douglas, 2004-07-17T13:56:58-07:00

# Line 20 | Line 20 | Stamp::Stamp(int day, int month, int yea
20  
21   Stamp::Stamp(const ext::String& when)
22   {
23 <        ::strptime(when.NullTerminate(), "%a, %d %b %Y %k:%M:%S %Z", &stamp);
23 >        strptime(when.NullTerminate(), "%a, %d %b %Y %T %Z", &stamp);
24   }
25  
26   Stamp::operator ext::String()
27   {
28          char when[30];
29  
30 <        std::strftime(when, 30, "%a, %d %b %Y %k:%M:%S GMT", &stamp);
30 >        std::strftime(when, 30, "%a, %d %b %Y %T GMT", &stamp);
31  
32          return when;
33   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines