Skip to content

Commit 974e910

Browse files
Yuri ZmytrakovYuri Zmytrakov
authored andcommitted
docs: update changelog about datetime rounding
1 parent 3fd821d commit 974e910

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1818

1919
### Fixed
2020

21+
- Ensure datetime filter rounds microseconds using standard rounding instead of truncation. [#492](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/492)
22+
2123
## [v6.5.1] - 2025-09-30
2224

2325
### Fixed

stac_fastapi/tests/api/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ async def test_use_datetime_false(app_client, load_test_data, txn_client, monkey
16311631
async def test_format_datetime_range_microsecond_rounding(
16321632
app_client, txn_client, load_test_data
16331633
):
1634-
"""Test that microseconds are rounded to milliseconds"""
1634+
"""Test that microseconds are rounded in format_datetime_range"""
16351635

16361636
test_collection = load_test_data("test_collection.json")
16371637
test_collection_id = "test-collection-microseconds"

0 commit comments

Comments
 (0)