Skip to content

Commit 2ae07ec

Browse files
committed
DOC: replace deprecated US/Eastern timezone alias with America/New_York
1 parent 0f7a205 commit 2ae07ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/examples/solar-tracking/plot_discontinuous_tracking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_orientation(self, solar_zenith, solar_azimuth):
5050
# %%
5151
# Let's take a look at the tracker rotation curve it produces:
5252

53-
times = pd.date_range('2019-06-01', '2019-06-02', freq='1min', tz='US/Eastern')
53+
times = pd.date_range('2019-06-01', '2019-06-02', freq='1min', tz='America/New_York')
5454
loc = location.Location(40, -80)
5555
solpos = loc.get_solarposition(times)
5656
mount = DiscontinuousTrackerMount(axis_azimuth=180, gcr=0.4)

0 commit comments

Comments
 (0)