Contribute Code - Validator\Between

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Contribute Code - Validator\Between

Douglas Pasqua
Hello,

I would like to improve the Validator\Between to include support to date values.

Is there any support like this in current version of zf2?

What steps I have to follow? Just follow the Contributer Guide? Any other step?

I'm new here..
Reply | Threaded
Open this post in threaded view
|

Re: Contribute Code - Validator\Between

weierophinney
Administrator
On Thu, Aug 1, 2013 at 10:21 AM, Douglas Pasqua
<[hidden email]> wrote:
> I would like to improve the Validator\Between to include support to date
> values.
>
> Is there any support like this in current version of zf2?

There is not. I'd argue this should be in the Zend\I18n\Validator
namespace, and be called DateBetween, however, as it's a highly
specific use case. The less we clutter the various validators with
specialised use cases, the better. :)

> What steps I have to follow? Just follow the Contributer Guide? Any other
> step?
> http://framework.zend.com/participate/contributor-guide

That's a good start. Also read the README-GIT.md and CONTRIBUTING.md
files inside the repository, as they contain more specifics about the
actual process.

Welcome!

--
Matthew Weier O'Phinney
Project Lead            | [hidden email]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
Reply | Threaded
Open this post in threaded view
|

Re: Contribute Code - Validator\Between

zburnham
Yay more validation!


On Thu, Aug 1, 2013 at 2:43 PM, Matthew Weier O'Phinney <[hidden email]> wrote:
On Thu, Aug 1, 2013 at 10:21 AM, Douglas Pasqua
<[hidden email]> wrote:
> I would like to improve the Validator\Between to include support to date
> values.
>
> Is there any support like this in current version of zf2?

There is not. I'd argue this should be in the Zend\I18n\Validator
namespace, and be called DateBetween, however, as it's a highly
specific use case. The less we clutter the various validators with
specialised use cases, the better. :)

> What steps I have to follow? Just follow the Contributer Guide? Any other
> step?
> http://framework.zend.com/participate/contributor-guide

That's a good start. Also read the README-GIT.md and CONTRIBUTING.md
files inside the repository, as they contain more specifics about the
actual process.

Welcome!

--
Matthew Weier O'Phinney
Project Lead            | [hidden email]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

Reply | Threaded
Open this post in threaded view
|

Re: Contribute Code - Validator\Between

Douglas Pasqua
In reply to this post by weierophinney
On Thu, Aug 1, 2013 at 3:43 PM, Matthew Weier O'Phinney
<[hidden email]> wrote:

> On Thu, Aug 1, 2013 at 10:21 AM, Douglas Pasqua
> <[hidden email]> wrote:
>> I would like to improve the Validator\Between to include support to date
>> values.
>>
>> Is there any support like this in current version of zf2?
>
> There is not. I'd argue this should be in the Zend\I18n\Validator
> namespace, and be called DateBetween, however, as it's a highly
> specific use case. The less we clutter the various validators with
> specialised use cases, the better. :)

Matthew, Thank you for your suggestion!

>> What steps I have to follow? Just follow the Contributer Guide? Any other
>> step?
>> http://framework.zend.com/participate/contributor-guide
>
> That's a good start. Also read the README-GIT.md and CONTRIBUTING.md
> files inside the repository, as they contain more specifics about the
> actual process.

Good :)

> Welcome!

I hope to be a good contributor ;)

--
Douglas V. Pasqua
http://about.me/douglas.pasqua
http://dpasqua.wordpress.com