[Koha-bugs] [Bug 33703] Entering dates should be more flexible accepting different entry formats

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 27 00:10:43 CEST 2023


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

--- Comment #14 from David Nind <david at davidnind.com> ---
(In reply to Lucas Gass from comment #13)

> 1. Entering dates: 
> 
> - if you start, but don't finish (for example, you get interrupted), the
> date clears after about 14-15 seconds (for some date fields only). For
> example: Patron date of birth, type 2023 (where date format = YYYY-MM-DD).
> 
> - if you partially complete a date, for example 20.02.2 then click away (for
> example another tab or application window) it autocompletes the date using
> what is in the date picker - in the example it would add it as 2023. Another
> example: 20. and then click on another window, makes it 20.01.2023. If date
> picker doesn't have Yesterday or Today options, and you click away on
> another tab/window, it is cleared.

You are right, this happens without the patch. So no change in behavour.

> > 2. Dates with time: for example, checkouts and specifying the due date -
> > from the date picker if you select any date (including Yesterday, Today, and
> > Tomorrow) it puts the time as 23:59; entering it manually, it automatically
> > makes it 00, and you can't enter the seconds (I vaguely remember testing for
> > a bug where the time was important and caused "issues", but I can't remember
> > what).

> Maybe Bug 29477? Again, this allow happens without this patchset. But if you
> think I should deal with it here I am happy to do so!  

That looks like the bug.

Before this patch, you can enter the time manually and the default time when
you select from date picker has the time as 23:59.

After this patch, you can't manually enter the time and the time defaults to
00:00 using the date picker.

As this is the current behavour, it will probably need to be addressed at some
stage.

I've only tested on the checkout form.

> > 3. Koha About > Licenses page: I think we normally add the license
> > information for libraries used in Koha.
> Good call, this should be added and I will do so.

Thanks!

> > 4. OPAC - there doesn't seem to be too many places where there is a date
> > field, but this may just depend on modules enabled: 
> > 
> > - Placing a hold: doesn't seem to work, for example: for a record select
> > Place a hold, then show more options - can't manually enter the date (note
> > that there are no Yesterday Today Tomorrow options - only today's date and
> > future dates).
> I have filed and patched Bug 34923.

Thanks!

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


More information about the Koha-bugs mailing list