Skip to content

Commit

Permalink
update ModelTime and start_datetime call in mbase
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarsen-usgs committed Jan 14, 2025
1 parent 23f7079 commit a18ba0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flopy/discretization/modeltime.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def tslen(self):

def get_datetime_string(self, datetime_obj):
"""
Method to get a standarized ISO 8601 compliant datetime string
Method to get a standardized ISO 8601 compliant datetime string
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion flopy/mbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ def __setattr__(self, key, value):
elif key == "start_datetime":
if self.dis is not None:
self.dis.start_datetime = value
self.modeltime.set_start_datetime(value)
self.modeltime.start_datetime = value
else:
raise Exception("cannot set start_datetime - ModflowDis not found")
else:
Expand Down

0 comments on commit a18ba0b

Please sign in to comment.