1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
13 //#include "zypp/base/Logger.h"
15 #include "zypp/Date.h"
19 ///////////////////////////////////////////////////////////////////
21 { /////////////////////////////////////////////////////////////////
23 ///////////////////////////////////////////////////////////////////
25 // METHOD NAME : Date::form
26 // METHOD TYPE : std::string
28 std::string Date::form( const std::string & format_r ) const
30 static char buf[1024];
31 if ( ! strftime( buf, 1024, format_r.c_str(), localtime( &_date ) ) )
36 /////////////////////////////////////////////////////////////////
38 ///////////////////////////////////////////////////////////////////