Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Manage downtimes with dst (recurrent and realtime) #5780

Merged
merged 8 commits into from
Oct 18, 2017
Merged

Manage downtimes with dst (recurrent and realtime) #5780

merged 8 commits into from
Oct 18, 2017

Conversation

kduret
Copy link
Contributor

@kduret kduret commented Oct 13, 2017

to cherry-pick on master
An other pull request is coming for 2.7.x

$dateTime = new \DateTime($date, new \DateTimeZone($timezone));

// Winter to summer dst
$dateTime2 = clone($dateTime);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clone $dateTime without incidentally

{
$dstDate = new DateTime('now', $timezone);
$dstDate->setTimestamp($timestamp);
$dateTime2 = clone($dstDate);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clone

);
$output = $return['output'];
if (
preg_match_all(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Styles: phpcs mark this new line as an error

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

290

);
$output = $return['output'];
if (
preg_match(
Copy link
Contributor

@MatthieuMan MatthieuMan Oct 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Styles: phpcs mark this new line as an error (339)

@ganoze ganoze merged commit 8b54153 into 2.8.x Oct 18, 2017
@ganoze ganoze deleted the dst branch October 18, 2017 06:53
@ganoze ganoze added this to the 2.8.15 milestone Oct 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants