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:
@@ -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 ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user