https://bugs.documentfoundation.org/show_bug.cgi?id=154769
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|[email protected] |[email protected] |desktop.org | --- Comment #2 from Julien Nabet <[email protected]> --- Robert: I gave a try with https://gerrit.libreoffice.org/c/core/+/150582 for date, datetime and time part. For day, month, year, I'm searching an official and clear spec to see what's expected (eg: what's the max year, what should be the input of month - a number corresponding to the month or the name of the month...) Eike: for time part, I noticed that 00:59:60 was converted to 00:01:00, reading https://en.wikipedia.org/wiki/ISO_8601, it can be used for the "leap second" but I tried too 00:60:00, LO doesn't complain and consider "60" as a wrong "leap minute", is it expected? Here's the relevant part: #2 0x00007f6e52cad7dc in utl::ISO8601parseTime(std::basic_string_view<char16_t, std::char_traits<char16_t> >, com::sun::star::util::Time&) (aTimeStr=u"00:61:00", rTime=...) at unotools/source/misc/datetime.cxx:383 #3 0x00007f6e0dbfb55a in (anonymous namespace)::lcl_toUNOTime(std::basic_string_view<char16_t, std::char_traits<char16_t> >) (rString=u"00:61:00") at forms/source/xforms/convert.cxx:184 #4 0x00007f6e0dbfa466 in (anonymous namespace)::lcl_toAny_UNOTime(rtl::OUString const&) (rString="00:61:00") at forms/source/xforms/convert.cxx:214 #5 0x00007f6e0dbfac25 in xforms::Convert::toAny(rtl::OUString const&, com::sun::star::uno::Type const&) (this=0x7f6e0dcb8bf0 <xforms::Convert::get()::aConvert>, rValue="00:61:00", rType=invalid uno::Type) at forms/source/xforms/convert.cxx:300 #6 0x00007f6e0dbd1fbf in xforms::Binding::getValue(com::sun::star::uno::Type const&) (this=0x55e68647ce60, rType=invalid uno::Type) at forms/source/xforms/binding.cxx:971 -- You are receiving this mail because: You are the assignee for the bug.
