Skip to content

Date string is automatically formatted as dateTime #27

@tikiatua

Description

@tikiatua

What am I trying to do?

  • Saving a string that contains iso date information (i.e. "8888-01-01") as string predicate in dgraph using the json mutation format

What is happening?

  • The string is parsed as dateTime and saved as dateTime string, i.e. 8888-01-02T00:00:00Z

What would I expect?

  • The string should not be parsed and should be saved as is "8888-01-01".

The problem does not seem to occur if the predicate is updated from ratel using the rdf n-quad format.

Metadata

Metadata

Assignees

Labels

kind/questionSomething requiring a response.status/more-info-neededThe issue has been sent back to the reporter asking for clarifications

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions