Skip to content

Commit

Permalink
Slightly adjust timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Oct 20, 2024
1 parent 9e8cf85 commit bd4ff63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions scripts/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ def generate_index_name(test_name: str) -> str:
user = os.getenv("USER", None)
index_owner = github_actor or user

current_date = datetime.now()
formatted_date = current_date.strftime("%Y%m%d-%f")
formatted_date = datetime.now().strftime("%Y%m%d-%H%M%S%f")[:-3]

github_job = os.getenv("GITHUB_JOB", None)

Expand Down
3 changes: 1 addition & 2 deletions tests/integration/helpers/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ def generate_index_name(label: str) -> str:
user = os.getenv("USER", None)
index_owner = github_actor or user

current_date = datetime.now()
formatted_date = current_date.strftime("%Y%m%d-%f")
formatted_date = datetime.now().strftime("%Y%m%d-%H%M%S%f")[:-3]

github_job = os.getenv("GITHUB_JOB", None)

Expand Down

0 comments on commit bd4ff63

Please sign in to comment.