File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ def get_day_in_us_central(
6060 The day from granule filename
6161 time_in_granule: str
6262 The time from granule filename
63- assume_tz : timezon , optional (default: UTC)
64- this is the timezone in which `dt` should be interpreted
65- before converting to Central.
63+ assume_tz : timezone , optional (default: UTC)
64+ this is the timezone in which `day_in_granule` and `time_in_granule`
65+ should be interpreted before converting to Central.
6666
6767 Returns
6868 -------
@@ -73,7 +73,7 @@ def get_day_in_us_central(
7373 dt = datetime .strptime (day_in_granule + time_in_granule , "%Y%m%d%H%M%S" )
7474 dt = dt .replace (tzinfo = assume_tz )
7575
76- dt_central = dt .astimezone (ZoneInfo ("US/Central " ))
76+ dt_central = dt .astimezone (ZoneInfo ("America/Chicago " ))
7777 return dt_central .strftime ("%Y%m%d" )
7878
7979
You can’t perform that action at this time.
0 commit comments