Skip to content

Commit 66afa08

Browse files
committed
Best to show UTC times rather than (unlabelled) local ones
1 parent 5d1f190 commit 66afa08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

get_high.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int main( const int argc, const char **argv)
2727
if( !ifile || !ofile)
2828
return( -1);
2929
*line0 = *line1 = '\0';
30-
fprintf( ofile, "# Added %s\n", ctime( &t0));
30+
fprintf( ofile, "# Added %.24s UTC\n", asctime( gmtime( &t0)));
3131
while( fgets( line2, sizeof( line2), ifile))
3232
{
3333
if( *line2 == '2' && *line1 == '1'

0 commit comments

Comments
 (0)