2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

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]
This commit is contained in:
Jurko Gospodnetić
2012-07-14 16:36:56 +00:00
parent 6383f7f161
commit 3ca9fc5911

View File

@@ -7,8 +7,6 @@
#include "jam.h"
#include "output.h"
#include "timestamp.h"
#include <stdio.h>
@@ -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 ) );
}