Date field type should not store time #1730

Closed
delebash opened this Issue Oct 5, 2013 · 1 comment

Projects

None yet

4 participants

delebash commented Oct 5, 2013

If you have a field type of Date, when you insert a new date the database stores the date but with a time of 00:00:00

Example insert into Contact (mydate) values("2014-10-83") where mydate is of type Date and not DateTime it gets stored as 2014-10-18T00:00:00 instead of just 2014-10-18

I made a patch for the JsonFetchListener so that when fields of type Date are serialized to json they are formated using the db config dateFormat value

Here is the related post https://groups.google.com/d/msg/orient-database/GnID_FKZdL0/sysNt265aDgJ

@laa laa was assigned Oct 5, 2013
@tglman tglman was assigned by lvca Aug 28, 2014
@lvca lvca modified the milestone: 2.0rc1, 2.0rc2 Aug 28, 2014
Member
tglman commented Aug 28, 2014

binary serialization already solve it!

@tglman tglman closed this Aug 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment