Skip to content

Commit 8f13a4d

Browse files
author
ASubaran
committed
added code
1 parent 0110ff0 commit 8f13a4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

e2e_batch/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import time
22
import csv
33
import pandas as pd
4-
import pytz
54
import uuid
65
from datetime import datetime, timezone
76
import csv
@@ -32,7 +31,7 @@ def generate_csv(file_name, fore_name, dose_amount, action_flag):
3231
data.append(create_row(unique_id, fore_name, dose_amount, "DELETE"))
3332

3433
df = pd.DataFrame(data)
35-
timestamp = datetime.now(pytz.UTC).strftime("%Y%m%dT%H%M%S%f")[:-3]
34+
timestamp = datetime.now(timezone.utc).strftime("%Y%m%dT%H%M%S%f")[:-3]
3635
file_name = (
3736
f"COVID19_Vaccinations_v4_YGM41_{timestamp}.csv"
3837
if file_name

0 commit comments

Comments
 (0)