openreserveio/dwn

Message entries and records are being saved to MongoDB with off create and published dates

Closed this issue · 0 comments

Describe the bug
Message entries and records are being saved to MongoDB with off create and published dates, i.e.:

0001-01-03T00:00:00.000Z

Expecting:

2022-12-25T12:00:00.000Z
...or similar

To Reproduce
Steps to reproduce the behavior:

  1. Execute integration test suite "collections_suite_test"
  2. Check MongoDB for inserted entries
  3. Check all date formats

Expected behavior

2022-12-25T12:00:00.000Z
...or similar

Screenshots

Screenshot 2022-12-28 at 3 29 50 PM