Skip to content

Commit

Permalink
Merge pull request #314 from asfadmin/master
Browse files Browse the repository at this point in the history
Patch Release V8.0.1
  • Loading branch information
SpicyGarlicAlbacoreRoll authored Aug 26, 2024
2 parents 7647d95 + bcebd43 commit 5f5f39d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
src: './asf_search'
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-->
------
## [v8.0.1](https://github.com/asfadmin/Discovery-asf_search/compare/v8.0.0...v8.0.1)
### Fixed
- Fixed setting end date timezone when translating search opts to CMR opts

------
## [v8.0.0](https://github.com/asfadmin/Discovery-asf_search/compare/v7.1.0...v7.2.0)
### Added
Expand Down
2 changes: 1 addition & 1 deletion asf_search/CMR/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def fix_date(fixed_params: Dict[str, Any]):
fixed_params['start'] if 'start' in fixed_params else '1978-01-01T00:00:00Z'
)
fixed_params['end'] = (
fixed_params['end'] if 'end' in fixed_params else datetime.now(datetime.UTC).isoformat()
fixed_params['end'] if 'end' in fixed_params else datetime.now(timezone.utc).isoformat()
)
fixed_params['season'] = (
','.join(str(x) for x in fixed_params['season']) if 'season' in fixed_params else ''
Expand Down

0 comments on commit 5f5f39d

Please sign in to comment.