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

dev/core#1921 Remove some places where the ghost of 2014 is getting special love #18359

Merged
merged 1 commit into from
Sep 5, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Minor code cleanup on dates

Before

$recur->start_date = CRM_Utils_Date::isoToMysql($recur->start_date);

to handle the fact that 6 years ago we needed to do this before using $dao->save()

After

It's a whole new world

Technical Details

per https://lab.civicrm.org/dev/core/-/issues/1921 we fixed the root cause of this 6 years ago....

Comments

@civibot
Copy link

civibot bot commented Sep 4, 2020

(Standard links)

@civibot civibot bot added the master label Sep 4, 2020
@eileenmcnaughton eileenmcnaughton merged commit 0480742 into civicrm:master Sep 5, 2020
@eileenmcnaughton eileenmcnaughton deleted the load branch September 5, 2020 00:43
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Sep 5, 2020
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Sep 14, 2020
----------------------------------------
Same deal as civicrm#18359

Before
----------------------------------------
Casting to ISO date to avoid 2014 bug

After
----------------------------------------
We are stuck in 2020

Technical Details
----------------------------------------

Comments
----------------------------------------
relevant tests
api_v3_CaseTest::testCaseMerge
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Sep 14, 2020
Overview
----------------------------------------
Same deal as civicrm#18359

Before
----------------------------------------
Casting to ISO date to avoid 2014 bug

After
----------------------------------------
We are stuck in 2020

Technical Details
----------------------------------------

Comments
----------------------------------------
relevant tests
api_v3_CaseTest::testCaseMerge
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.

2 participants