Uh oh!
There was an error while loading. Please reload this page.
Fix double conversion of datetime for log entries. - #3144
Conversation
| 'labels': LABELS, | ||
| 'insertId': IID, | ||
| 'timestamp': NOW, | ||
| 'timestamp': NOW.strftime("%Y-%m-%dT%H:%M:%S.%fZ"), |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| 'labels': LABELS, | ||
| 'insertId': IID, | ||
| 'timestamp': NOW, | ||
| 'timestamp': NOW.strftime("%Y-%m-%dT%H:%M:%S.%fZ"), |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| {'textPayload': TEXT, 'insertId': IID1, 'timestamp': TIMESTAMP1}, | ||
| {'jsonPayload': STRUCT, 'insertId': IID2, 'timestamp': TIMESTAMP2}, | ||
| {'textPayload': TEXT, 'insertId': IID1, | ||
| 'timestamp': TIMESTAMP1.strftime("%Y-%m-%dT%H:%M:%S.%fZ")}, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| entries = _list_entries(logger) | ||
| self.assertEqual(len(entries), 1) | ||
| self.assertEqual(entries[0].payload, text_payload) | ||
| # self.assertEqual(entries[0].timestamp, now) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
daspecster
commented
Mar 16, 2017
@tseaver updated! |
daspecster
commented
Mar 16, 2017
Gah..forgot to squash...apologies. |
Fkawala
commented
Mar 17, 2017
@daspecster thanks for the swift fix ! |
daspecster
commented
Mar 17, 2017
@Fkawala thanks for tracking it down! |
…me-conversion Fix double conversion of datetime for log entries.
Fixes: #3129
This should fix the double conversion issue.
/cc @waprin