Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-21667: Fix for timezone handoff from Drupal6 should take DST into account. #11800

Merged
merged 1 commit into from
Mar 12, 2018

Conversation

universalhandle
Copy link
Contributor

@universalhandle universalhandle commented Mar 12, 2018

Overview

See #11534. Fix did not take daylight savings time into account.

Before

When daylight savings time took effect, my site in America/NewYork reported it was in America/Halifax, resulting in a timezone mismatch notice. (Prior to DST, it reported its timezone correctly.)

After

Site correctly reports it is in America/NewYork.

Technical Details

See documentation of timezone_name_from_abbr(). The value of the isdst parameter defaults to -1, which means that whether the time zone has daylight saving or not is not taken into consideration when searching. In other words, the search is more inclusive.


@colemanw
Copy link
Member

The CT isn't putting any more into D6 maintenance but I'm happy to merge this based on the author's reputation.

@colemanw colemanw merged commit 626c36a into civicrm:master Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants