Skip to content

Commit bca8724

Browse files
author
Matthew Fisher
committed
fix(controller): ISO8601 datetime compliance
1 parent 7bcf6f1 commit bca8724

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

controller/deis/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
DEIS_DOMAIN = 'deisapp.local'
258258

259259
# standard datetime format used for logging, model timestamps, etc.
260-
DEIS_DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S %Z'
260+
DEIS_DATETIME_FORMAT = '%Y-%m-%dT%H:%M:%S%Z'
261261

262262
# default scheduler settings
263263
SCHEDULER_MODULE = 'mock'

logspout/logspout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func syslogStreamer(target Target, types []string, logstream chan *Log) {
6868
// HACK: Go's syslog package hardcodes the log format, so let's send our own message
6969
_, err = fmt.Fprintf(conn,
7070
"%s %s[%s]: %s",
71-
time.Now().Format("2006-01-02 15:04:05 MST"),
71+
time.Now().Format("2006-01-02T15:04:05MST"),
7272
tag,
7373
pid,
7474
logline.Data)

0 commit comments

Comments
 (0)