Skip to content

Commit

Permalink
Don't subtract microsecond from mint (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart authored Apr 19, 2022
1 parent 4aeacb9 commit 3898e46
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torchgeo/datasets/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@ def disambiguate_timestamp(date_str: str, format: str) -> Tuple[float, float]:
# Microsecond resolution
maxt = mint + timedelta(microseconds=1)

mint -= timedelta(microseconds=1)
maxt -= timedelta(microseconds=1)

return mint.timestamp(), maxt.timestamp()
Expand Down

0 comments on commit 3898e46

Please sign in to comment.