]> git.koha-community.org Git - koha.git/commit
Bug 29478: Today should select now for pastinclusive
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 17 Nov 2021 11:19:50 +0000 (12:19 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 22 Nov 2021 10:48:46 +0000 (11:48 +0100)
commit03884cc9f9aaf95a5b4f1258857ae65068b196cd
treef2925ec0f14dfea06b6b542449064fa85ebad45d
parent58cec67dbdd6064e9435b04b7474fe0ebc5e0ac5
Bug 29478: Today should select now for pastinclusive

If Today is clicked when we only allow dates in the past and today/now,
we should select the current date/time
We need to update the maxDate to make it up-to-date, or the maxDate may
be set to the minute before and clicking Today will blank the input.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc