Skip to content

DateFromParts millisecondsOf returns "milliseconds" as $dateFromParts function but it should be millisecond [DATAMONGO-2671] #3523

Closed
@spring-projects-issues

Description

@spring-projects-issues

taher435 opened DATAMONGO-2671 and commented

As mentioned in the mongodb issue log - https://jira.mongodb.org/browse/SERVER-30524 - the date from part operator for milliseconds was changed from "milliseconds" to "millisecond" (singular). However, when using the date part from spring mongodb, it still creates the aggregation query with "milliseconds" and hence the query fails with an unrecognized operator error. Based on the initial investigation, it feels like this line causes the issue


Referenced from: pull request #897

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions