[SERVER-6679] Value::coerceToString() for dates should use UTC rather than localtime Created: 01/Aug/12  Updated: 11/Jul/16  Resolved: 02/Aug/12

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 2.2.0-rc1

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

It matches the other $expressions and is more testable. Also, it should use ISO8601 format so it can still sort correctly.



 Comments   
Comment by auto [ 02/Aug/12 ]

Author:

{u'date': u'2012-08-02T16:36:17-07:00', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}

Message: Fix DateToString test for SERVER-6679
Branch: master
https://github.com/mongodb/mongo/commit/4aaed4ccfb608db56a269e0422f6d48385c28445

Comment by auto [ 02/Aug/12 ]

Author:

{u'date': u'2012-08-02T10:39:46-07:00', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}

Message: SERVER-6679 Value::coerceToString uses UTC ISODate format for dates
Branch: master
https://github.com/mongodb/mongo/commit/e9bfafe93d0509a46f43e1ee8d8cc0a2bb64bd53

Comment by auto [ 02/Aug/12 ]

Author:

{u'date': u'2012-07-31T12:56:59-07:00', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}

Message: SERVER-6189 Support Dates before 1970 in aggregation

This required moving away from Date_t as it asserts on dates before 1970
Some tests are disabled due to SERVER-6666 and SERVER-6679
Branch: master
https://github.com/mongodb/mongo/commit/07e2bbe7293ec7fda7858f141da218477c255f1e

Generated at Thu Feb 08 03:12:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.