Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addressing the inconsistencies in date storage related to MongoDB's default timestamp with timezone approach. The current method often leads to discrepancies in date interpretation across various timezones and services. This commit introduces a revised storage strategy that prioritizes storing dates as LocalDate to ensure consistent interpretation irrespective of timezone differences. By avoiding implicit conversions to timestamps, it mitigates issues where the date representation may differ based on the timezone of the reading service or aggregation functions. This change aims to ensure uniformity in date representation, particularly critical for scenarios like invoicing where the date's day component should be preserved consistently across systems.
- Loading branch information