Skip to content

Commit

Permalink
Use four-digits year (#7336)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored and balloob committed Apr 27, 2017
1 parent 9a67111 commit 0298522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/bootstrap.py
Expand Up @@ -214,7 +214,7 @@ def async_enable_logging(hass: core.HomeAssistant, verbose: bool=False,
fmt = ("%(asctime)s %(levelname)s (%(threadName)s) "
"[%(name)s] %(message)s")
colorfmt = "%(log_color)s{}%(reset)s".format(fmt)
datefmt = '%y-%m-%d %H:%M:%S'
datefmt = '%Y-%m-%d %H:%M:%S'

# suppress overly verbose logs from libraries that aren't helpful
logging.getLogger("requests").setLevel(logging.WARNING)
Expand Down

0 comments on commit 0298522

Please sign in to comment.