Antonio Murdaca
c9207bc0aa
Format times in inspect command with a template as RFC3339Nano
...
In 1.6.2 we were decoding inspect API response into interface{}.
time.Time fields were JSON encoded as RFC3339Nano in the response
and when decoded into interface{} they were just strings so the inspect
template treated them as just strings.
From 1.7 we are decoding into types.ContainerJSON and when the template
gets executed it now gets a time.Time and it's formatted as
2015-07-22 05:02:38.091530369 +0000 UTC.
This patch brings back the old behavior by typing time.Time fields
as string so they gets formatted as they were encoded in JSON -- RCF3339Nano
Signed-off-by: Antonio Murdaca <runcom@linux.com >
2015-07-26 15:25:08 +02:00
..
2015-07-24 14:08:20 -07:00
2015-07-24 14:08:20 -07:00
2015-07-14 21:52:43 +02:00
2015-07-23 14:34:38 +02:00
2015-07-14 21:52:43 +02:00
2015-07-23 14:34:38 +02:00
2015-07-23 14:34:38 +02:00
2015-07-21 15:33:05 -07:00
2015-07-23 14:34:38 +02:00
2015-07-14 21:52:43 +02:00
2015-07-23 14:34:38 +02:00
2015-07-23 14:34:38 +02:00
2015-07-14 21:52:43 +02:00
2015-07-14 21:52:43 +02:00
2015-07-24 16:31:12 -07:00
2015-07-23 10:26:06 +08:00
2015-07-24 14:08:20 -07:00
2015-07-14 21:52:43 +02:00
2015-07-14 21:52:43 +02:00
2015-07-21 15:19:52 -07:00
2015-07-21 15:19:52 -07:00
2015-07-21 15:19:52 -07:00
2015-07-22 14:03:50 +01:00
2015-07-24 16:31:18 -07:00
2015-07-23 20:31:43 -04:00
2015-07-20 14:55:40 +08:00
2015-07-21 15:19:52 -07:00
2015-07-24 14:48:26 +08:00
2015-07-22 14:03:50 +01:00
2015-07-20 14:55:40 +08:00
2015-07-20 14:55:40 +08:00
2015-07-24 16:31:18 -07:00
2015-07-20 14:55:40 +08:00
2015-07-22 14:03:50 +01:00
2015-07-20 14:55:40 +08:00
2015-07-20 14:55:40 +08:00
2015-07-21 15:33:05 -07:00
2015-07-26 15:25:08 +02:00
2015-07-20 14:55:40 +08:00
2015-07-20 14:44:22 +08:00
2015-07-20 16:46:51 -07:00
2015-07-22 11:54:35 -07:00
2015-07-20 14:44:22 +08:00
2015-07-20 14:44:22 +08:00
2015-07-14 21:52:43 +02:00
2015-07-14 21:52:43 +02:00
2015-07-14 21:52:43 +02:00
2015-07-23 20:31:43 -04:00
2015-07-23 13:23:24 -07:00
2015-07-24 16:31:18 -07:00
2015-07-24 16:31:18 -07:00
2015-07-17 04:07:12 +08:00
2015-07-22 09:02:00 +02:00
2015-07-17 04:07:12 +08:00
2015-07-16 18:02:51 -07:00
2015-07-24 21:50:44 -04:00
2015-07-22 14:03:50 +01:00
2015-07-22 14:03:50 +01:00
2015-07-22 17:55:41 +08:00
2015-07-22 17:55:41 +08:00
2015-07-22 17:55:41 +08:00
2015-07-22 17:55:41 +08:00
2015-07-21 09:32:44 -07:00
2015-07-20 14:44:22 +08:00
2015-07-20 14:44:22 +08:00
2015-07-20 14:44:22 +08:00
2015-07-20 14:44:22 +08:00
2015-07-20 14:44:22 +08:00
2015-07-24 16:31:18 -07:00
2015-07-22 14:03:50 +01:00
2015-07-22 14:03:50 +01:00
2015-07-24 14:08:20 -07:00
2015-07-24 16:31:18 -07:00
2015-07-24 14:08:20 -07:00