Skip to content

Commit

Permalink
refactor(databricks): fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pbullhove committed Oct 9, 2024
1 parent ea4b47c commit 4282ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databricks/Havvarsel - Transform to Gold.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def transform_to_local_timezone(utc_time_str):
local_time = utc_time.astimezone(pytz.timezone("Europe/Oslo"))

# Return formatted time as a string with timezone offset
return local_time.strftime('%Y-%m-%d %H:%M:%S %z') # Includes milliseconds and offset
return local_time.strftime('%Y-%m-%d %H:%M:%S %z') # Includes the timezone offset


# Register the function as a UDF
Expand Down

0 comments on commit 4282ada

Please sign in to comment.