aboutsummaryrefslogtreecommitdiffstats
path: root/web/api/read/oplog
diff options
context:
space:
mode:
authorKristian Lyngstøl <kly@kly.no>2017-04-16 01:47:57 +0200
committerKristian Lyngstøl <kly@kly.no>2017-04-16 01:47:57 +0200
commit0b99608227d53c9eebb01fd7f98d1618cbb7a2cf (patch)
treebc7a412d82ced33c10749289228df0cda942e632 /web/api/read/oplog
parentbb862773d69bc5997bd1628a3f0505827e7cfe5c (diff)
TG17 monster commit
Diffstat (limited to 'web/api/read/oplog')
-rwxr-xr-xweb/api/read/oplog3
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;
}