Skip to content

Commit

Permalink
DOC: standardize grammar on time zones.
Browse files Browse the repository at this point in the history
  • Loading branch information
phmbressan committed Mar 28, 2024
1 parent 4b42c9e commit 27dd73d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rocketpy/environment/environment_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def __localize_input_dates(self):

def __find_preferred_timezone(self):
if self.preferred_timezone is None:
# Use local timezone based on lat lon pair
# Use local time zone based on lat lon pair
try:
timezonefinder = import_optional_dependency("timezonefinder")
tf = timezonefinder.TimezoneFinder()
Expand Down
2 changes: 1 addition & 1 deletion rocketpy/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def time_num_to_date_string(time_num, units, timezone, calendar="gregorian"):
"""Convert time number (usually hours before a certain date) into two
strings: one for the date (example: 2022.04.31) and one for the hour
(example: 14). See cftime.num2date for details on units and calendar.
Automatically converts time number from UTC to local timezone based on
Automatically converts time number from UTC to local time zone based on
lat, lon coordinates. This function was created originally for the
EnvironmentAnalysis class.
Expand Down

0 comments on commit 27dd73d

Please sign in to comment.