[Koha-bugs] [Bug 11120] The date option for the overdue_notices cronjob is broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 6 09:15:44 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11120

--- Comment #14 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 34963
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34963
Bug 11120: Follow-up: adding a hint about the date format

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

::: misc/cronjobs/overdue_notices.pl
@@ +364,4 @@
>      eval {
>          $date_to_run = dt_from_string( $date_input );
>      };
> +    die "$date_input is not a valid date, aborting! Use a date in format YYYY-MM-DD."

No, this is wrong.
The format depends on the dateformat pref.

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


More information about the Koha-bugs mailing list