Skip to content

Date formatting changed slightly with Utf8json serializer #4037

Closed
@rickardp

Description

@rickardp

NEST/Elasticsearch.Net version:
master

Description of the problem including expected versus actual behavior:

Not sure if this is an acceptable change or not, but since the introduction of Utf8json the date/time format changed slightly (more fraction digits representing milliseconds).

Steps to reproduce:

  1. Run unit tests
  2. Test ShouldRoundtripDateTimeAndDateTimeOffsetWithSameKindAndOffset fails. The value is now 1999-01-01T01:01:01.0010000+05:00 instead of 1999-01-01T01:01:01.001+05:00 as it used to be.

Again, this might be an acceptable change, in which case the unit test should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions