[Koha-bugs] [Bug 24850] Koha::DateUtils ignores offsets in RFC3339 datetimes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 28 00:57:07 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24850

--- Comment #56 from David Cook <dcook at prosentient.com.au> ---
Comment on attachment 115852
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115852
Bug 24850: Correct offset handling in dt_from_string

Review of attachment 115852:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=24850&attachment=115852)
-----------------------------------------------------------------

::: Koha/DateUtils.pm
@@ +117,4 @@
>              (?<minute>\d{2})
>              :
>              (?<second>\d{2})
> +            (\.\d{1,3})?(([Zz])|((?<offset>[\+|\-])(?<hours>[01][0-9]|2[0-3]):(?<minutes>[0-5][0-9])))

I don't think lowercase "z" is valid here?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list