diff options
author | Kristian Lyngstøl <kly@kly.no> | 2017-04-16 01:47:57 +0200 |
---|---|---|
committer | Kristian Lyngstøl <kly@kly.no> | 2017-04-16 01:47:57 +0200 |
commit | 0b99608227d53c9eebb01fd7f98d1618cbb7a2cf (patch) | |
tree | bc7a412d82ced33c10749289228df0cda942e632 /web/api/read/oplog | |
parent | bb862773d69bc5997bd1628a3f0505827e7cfe5c (diff) |
TG17 monster commit
Diffstat (limited to 'web/api/read/oplog')
-rwxr-xr-x | web/api/read/oplog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/api/read/oplog b/web/api/read/oplog index 92511bb..15c6177 100755 --- a/web/api/read/oplog +++ b/web/api/read/oplog @@ -16,6 +16,9 @@ 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/; + push @{$nms::web::json{'oplog'}},\%meh; } |