[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 |
| 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: |
| 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: This required moving away from Date_t as it asserts on dates before 1970 |