[SERVER-30259] Change calculations in timelib to use seconds East instead of minutes West Created: 21/Jul/17  Updated: 30/Oct/23  Resolved: 01/Aug/17

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.5.11

Type: Task Priority: Major - P3
Reporter: Derick Rethans Assignee: Derick Rethans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2017-07-31, Query 2017-08-21
Participants:

 Description   

Currently "timelib" uses "minutes West" for calculations done with time zone specifiers like "+04:00". Although this works, it means we need to special case this situation for the utcOffset method on mongo::TimeZone.

Change timelib to use "seconds East" to be in line with calculations that use "Europe/Amsterdam" like time zone specifiers.



 Comments   
Comment by Githook User [ 01/Aug/17 ]

Author:

{'email': 'github@derickrethans.nl', 'username': 'derickr', 'name': 'Derick Rethans'}

Message: SERVER-30259 Change calculations in timelib to use seconds East instead of minutes West
Branch: master
https://github.com/mongodb/mongo/commit/7cad8ba246755794c31b237531fedb09c0baa534

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