Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Fix invalid step error caused by DST #6245

Merged
merged 3 commits into from
May 10, 2014

Conversation

davidwindell
Copy link
Contributor

We need to force UTC on the DateStepValidator, otherwise, changes in DST causes it to fail due to the base date being an hour out.

@@ -11,6 +11,7 @@

use DateInterval;
use DateTime as PhpDateTime;
use DateTimezone;
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove unused use.

*
* @var string
*/
private $_originaltimezone;
Copy link
Member

Choose a reason for hiding this comment

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

Please don't prefix non-public members with _

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha, that will teach me for copying from other tests classes!

@Ocramius Ocramius self-assigned this May 9, 2014
@Ocramius Ocramius added this to the 2.3.2 milestone May 9, 2014
@Ocramius
Copy link
Member

Ocramius commented May 9, 2014

Except for CS, this is mergeable

@Ocramius Ocramius merged commit ccfa646 into zendframework:master May 10, 2014
Ocramius added a commit that referenced this pull request May 10, 2014
Ocramius added a commit that referenced this pull request May 10, 2014
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants