Skip to content

Date and Date Time casting and precision issues (for discussion) #75

@rufuspollock

Description

@rufuspollock

Currently have the problem that a csv file with the following input:

 2012-08-11

Will get converted and returned as:

 2012-08-11T00:00:00

The basic issue is that we don't get a sense of precision.

There are several options:

  1. Guess type but do not use this for parsing (bad IMO because we don't convert thursday 25th january to something standard - though this could be a good thing ??)
  2. Leave it to clients to strip unnecessary precision
  3. Do a hack to strip T00:00:00 style stuff from all dates when do serialization to json ...

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