Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79502 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-14 12:36:57


Author: jurko
Date: 2012-07-14 12:36:56 EDT (Sat, 14 Jul 2012)
New Revision: 79502
URL: http://svn.boost.org/trac/boost/changeset/79502

Log:
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.
Text files modified:
   trunk/tools/build/v2/engine/output.c | 6 +-----
   1 files changed, 1 insertions(+), 5 deletions(-)

Modified: trunk/tools/build/v2/engine/output.c
==============================================================================
--- trunk/tools/build/v2/engine/output.c (original)
+++ trunk/tools/build/v2/engine/output.c 2012-07-14 12:36:56 EDT (Sat, 14 Jul 2012)
@@ -7,8 +7,6 @@
 #include "jam.h"
 #include "output.h"
 
-#include "timestamp.h"
-
 #include <stdio.h>
 
 
@@ -96,7 +94,5 @@
 
 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 ) );
 }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk