What do you suggest exactly?
To replace the 3 regexs by a new module?
Or getting rid of the dateformat syspref and use the locales from the
client instead?

Le jeu. 6 août 2020 à 13:06, <dc...@prosentient.com.au> a écrit :
>
> Hi all,
>
>
>
> I needed to parse a string into a DateTime object, so I decided to take a 
> look at Koha::DateUtils, and I was surprised to see that we’re parsing dates 
> the hard way. We really should look at using DateTime::Format::Strptime 
> instead. I use it in other Perl projects, and it makes life much easier.
>
>
>
> David Cook
>
> Systems Librarian
>
> Prosentient Systems
>
> 72/330 Wattle St
>
> Ultimo, NSW 2007
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to