Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Suggestions: second are lost in default date serialization + XML test broken #32

Merged
merged 2 commits into from
Jun 12, 2016

Conversation

romain-dartigues
Copy link

Hi,

here are some suggestions:

  • in the current default JSON serializer, seconds are lost in datetime instances
  • in my opinion, the datefmt parameter to logging.Formatter instances should be used only to format the message time; not to serialize the data
  • testJsonLogger has been renamed to TestJsonLogger

Regards.

* the `datefmt` parameter is intended to be used
  by logging.Formatter.formatTime and not for the serialization
* seconds are lost in the serialization of time and datetimes instances
Fix typo introduced in b13299c when "testJsonLogger" was renamed in
"TestJsonLogger" but not in the called test.
@madzak madzak merged commit 6425c16 into madzak:master Jun 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants