Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Date field missmatch

Currently, when dates are converted to ISO dates, we add a time component too (midnight).

eg. 01/11/2014 -> '2014-11-01T00:00:00.000Z'

This is fine for dates fall in winter (before clock change). However, dates fall in the summer (BST), conversion off set 1 hour making the midnight of a day to the 11PM on previous day.

eg. 01/04/2014 -> '2014-03-31T23:00:00.000Z'

2 Replies