diff options
Diffstat (limited to 'web/api/read/oplog')
-rwxr-xr-x | web/api/read/oplog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/api/read/oplog b/web/api/read/oplog index 92511bb..fb187ea 100755 --- a/web/api/read/oplog +++ b/web/api/read/oplog @@ -16,6 +16,10 @@ while (my $ref = $query->fetchrow_hashref()) { $meh{'id'} = $ref->{'id'}; $meh{'systems'} = $ref->{'systems'}; $meh{'timestamp'} = $ref->{'timestamp'}; + $meh{'timestamp'} =~ s/ /T/; + $meh{'timestamp'} =~ s/\+00$/Z/; + $meh{'timestamp'} =~ s/\+(\d\d)$/+\1:00/; + push @{$nms::web::json{'oplog'}},\%meh; } |