"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libgnucash/engine/gnc-date.cpp" between
gnucash-5.0.tar.bz2 and gnucash-5.1.tar.bz2

About: GnuCash is personal and small-business financial-accounting software.

gnc-date.cpp  (gnucash-5.0.tar.bz2):gnc-date.cpp  (gnucash-5.1.tar.bz2)
skipping to change at line 1103 skipping to change at line 1103
return retval; return retval;
} }
/********************************************************************\ /********************************************************************\
\********************************************************************/ \********************************************************************/
gchar * gchar *
gnc_date_timestamp (void) gnc_date_timestamp (void)
{ {
return g_strdup(GncDateTime::timestamp().c_str()); auto timestamp = GncDateTime::timestamp();
return g_strdup(timestamp.c_str());
} }
/********************************************************************\ /********************************************************************\
* iso 8601 datetimes should look like 1998-07-02 11:00:00.68-05 * iso 8601 datetimes should look like 1998-07-02 11:00:00.68-05
\********************************************************************/ \********************************************************************/
/* Unfortunately, not all strptime or struct tm implementations /* Unfortunately, not all strptime or struct tm implementations
* support timezones, so we have to do this with sscanf. * support timezones, so we have to do this with sscanf.
*/ */
#define ISO_DATE_FORMAT "%d-%d-%d %d:%d:%lf%s" #define ISO_DATE_FORMAT "%d-%d-%d %d:%d:%lf%s"
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)