mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 22:13:00 +00:00
indicate that REST API timestamps are UTC
use iso8601 Z suffix for UTC timestamps use dateutil to parse dates from proxy, as well even though CHP uses iso8601 UTC timestamps, we no longer assume CHP, so use more general parsing in our db we are stuck with naïve datetime objects, so use those internally. But ensure we put 'Z' on timestamps we ship externally
This commit is contained in:
@@ -26,7 +26,7 @@ from ..spawner import LocalProcessSpawner
|
||||
from ..utils import maybe_future, url_path_join
|
||||
from ..metrics import (
|
||||
SERVER_SPAWN_DURATION_SECONDS, ServerSpawnStatus,
|
||||
PROXY_ADD_DURATION_SECONDS, ProxyAddStatus
|
||||
PROXY_ADD_DURATION_SECONDS, ProxyAddStatus,
|
||||
)
|
||||
|
||||
# pattern for the authentication token header
|
||||
|
Reference in New Issue
Block a user