Skip to content

Commit

Permalink
Fix local timezone (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kwsm authored Jun 16, 2021
1 parent 494e98b commit 34be02a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pylsp/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import logging
import logging.config
import sys
import time

try:
import ujson as json
Expand All @@ -14,7 +15,8 @@
from .python_lsp import (PythonLSPServer, start_io_lang_server,
start_tcp_lang_server)

LOG_FORMAT = "%(asctime)s UTC - %(levelname)s - %(name)s - %(message)s"
LOG_FORMAT = "%(asctime)s {0} - %(levelname)s - %(name)s - %(message)s".format(
time.localtime().tm_zone)


def add_arguments(parser):
Expand Down

0 comments on commit 34be02a

Please sign in to comment.