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

Date select filter #7277

Merged
merged 17 commits into from
Mar 10, 2015
Merged

Conversation

carnage
Copy link
Contributor

@carnage carnage commented Feb 28, 2015

Replaces #6713

public function filter($value)
{
// Convert the date to a specific format
if (is_array($value)) {
Copy link
Member

Choose a reason for hiding this comment

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

Maybe you can use early return.

if (! is_array($value)) {
    return $value;
}

* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
Copy link
Member

Choose a reason for hiding this comment

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

missing change 2005-2015

@weierophinney weierophinney added this to the 2.4.0 milestone Mar 10, 2015
@weierophinney weierophinney merged commit 66b72fc into zendframework:develop Mar 10, 2015
weierophinney added a commit that referenced this pull request Mar 10, 2015
weierophinney added a commit that referenced this pull request Mar 10, 2015
weierophinney added a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants