On 30 Apr 01:08, Cédric Krier wrote:
> On 29 Apr 19:47, Romain Séon wrote:
> > Hello,
> > We were wondering if we where the only ones bothered with the new date
> > widget.
> > With the new version of tryton, you now need to explicitly set a separator.
> > In the previous version I could type 12052015 for a french date and I would
> > have a date correctly set as the 5th December of 2015, now I have to type
> > 12/05/2015 wish is longer.
> 
> Because you don't type it effectively: 12/5/15 is much shorter.
> (and you can use anything else than a number as separator)
> 
> But if you don't put any separator, the dateutil parser consider the
> format YYMMDD or YYYYMMDD.
> 
> I think the parser could probably be improved to take care of the
> dayfirst and yearfirst parameter for those cases. So if someone wants he
> can try to provide a patch to python-dateutil.

I submitted an issue: https://github.com/dateutil/dateutil/issues/81

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Reply via email to