Re: [fw-general] Pass a string to DateTimeFormatter, return a DateTime?

2013-05-20 Thread Matthew Weier O'Phinney
On Sat, May 18, 2013 at 12:17 PM, Andreas Möller a...@localheinz.com wrote: not so sure about this, but I see the following related to * https://github.com/zendframework/zf2/pull/4495 * https://github.com/zendframework/zf2/issues/4493 Should the DateTimeFormatter, when passed a string from

Re: [fw-general] Pass a string to DateTimeFormatter, return a DateTime?

2013-05-20 Thread Andreas Möller
No, it should not return a DateTime, as that would break backwards compatibility. Introduce alternate formatters/filters if you would like that behavior. How about the NumberFormatter - same thing? Best regards, Andreas -- List: fw-general@lists.zend.com Info:

[fw-general] Pass a string to DateTimeFormatter, return a DateTime?

2013-05-18 Thread Andreas Möller
Hello group, not so sure about this, but I see the following related to * https://github.com/zendframework/zf2/pull/4495 * https://github.com/zendframework/zf2/issues/4493 Should the DateTimeFormatter, when passed a string from which an instance of DateTime could be created, return a