@@ -324,7 +324,8 @@ show_instance_plain(parray *backup_list, bool show_name)
324324 char data_bytes_str [10 ] = "----" ;
325325
326326 if (backup -> recovery_time != (time_t ) 0 )
327- time2iso (timestamp , lengthof (timestamp ), backup -> recovery_time );
327+ time2iso (timestamp , lengthof (timestamp ), backup -> recovery_time ,
328+ true);
328329 if (backup -> end_time != (time_t ) 0 )
329330 snprintf (duration , lengthof (duration ), "%.*lfs" , 0 ,
330331 difftime (backup -> end_time , backup -> start_time ));
@@ -452,12 +453,12 @@ show_instance_json(parray *backup_list)
452453 (uint32 ) (backup -> stop_lsn >> 32 ), (uint32 ) backup -> stop_lsn );
453454 json_add_value (buf , "stop-lsn" , lsn , json_level , true);
454455
455- time2iso (timestamp , lengthof (timestamp ), backup -> start_time );
456+ time2iso (timestamp , lengthof (timestamp ), backup -> start_time , true );
456457 json_add_value (buf , "start-time" , timestamp , json_level , true);
457458
458459 if (backup -> end_time )
459460 {
460- time2iso (timestamp , lengthof (timestamp ), backup -> end_time );
461+ time2iso (timestamp , lengthof (timestamp ), backup -> end_time , true );
461462 json_add_value (buf , "end-time" , timestamp , json_level , true);
462463 }
463464
@@ -466,7 +467,8 @@ show_instance_json(parray *backup_list)
466467
467468 if (backup -> recovery_time > 0 )
468469 {
469- time2iso (timestamp , lengthof (timestamp ), backup -> recovery_time );
470+ time2iso (timestamp , lengthof (timestamp ), backup -> recovery_time ,
471+ true);
470472 json_add_value (buf , "recovery-time" , timestamp , json_level , true);
471473 }
472474
0 commit comments