From 3ca9fc59117abaaf71908e911da4598ca83fc615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Sat, 14 Jul 2012 16:36:56 +0000 Subject: [PATCH] Boost Jam now reports its timestamps using a bit more complete format (still ISO-8601 compliant) to include nanosecond information. The new format is 'YYYY-MM-DD HH:MM:SS.ZZZZZZZZZ +0000'. Currently the nanosecond part value is always 0. [SVN r79502] --- v2/engine/output.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/v2/engine/output.c b/v2/engine/output.c index 01228e1aa..eaaee434b 100644 --- a/v2/engine/output.c +++ b/v2/engine/output.c @@ -7,8 +7,6 @@ #include "jam.h" #include "output.h" -#include "timestamp.h" - #include @@ -96,7 +94,5 @@ OBJECT * outf_double( double const value ) OBJECT * outf_time( timestamp const * const time ) { - char buffer[ 50 ]; - strftime( buffer, 49, "%Y-%m-%d %H:%M:%SZ", gmtime( &time->secs ) ); - return object_new( buffer ); + return object_new( timestamp_str( time ) ); }