Skip to content

Commit

Permalink
remove fake time from test env
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianRzk committed May 19, 2024
1 parent 63c10a7 commit 3539bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/three_day_forecast/io_influx.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def convert_three_day_forecast_to_influx_points(forecast: ThreeDayForecast) -> list[influxdb_client.Point]:
points = []

now = datetime.datetime.strptime('00:00:00 2024-May-13', '%H:%M:%S %Y-%b-%d')
now = datetime.datetime.now()

for kp in forecast.kp_forecast():
kp_date_normalized = datetime.datetime.strptime(
Expand Down

0 comments on commit 3539bcb

Please sign in to comment.