Skip to content

Commit

Permalink
actual correct datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisblake committed Sep 20, 2024
1 parent 18a8cd8 commit 931e6ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyaerocom/aeroval/setup_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from getpass import getuser
from pathlib import Path
from typing import Annotated, Literal
from datetime import datetime
import datetime

from pyaerocom.aeroval.glob_defaults import VarWebInfo, VarWebScaleAndColormap

Expand Down Expand Up @@ -298,7 +298,7 @@ class ExperimentInfo(BaseModel):
public: bool = False
exp_pi: str = getuser()
pyaerocom_version: str = __version__
creation_date: str = f"{datetime.now(datetime.timezone.utc):%Y-%m-%dT%H:%M:%S.%fZ}"
creation_date: str = f"{datetime.datetime.now(datetime.timezone.utc):%Y-%m-%dT%H:%M:%S.%fZ}"


class EvalSetup(BaseModel):
Expand Down

0 comments on commit 931e6ad

Please sign in to comment.