From 7174d05774bce58041d98d266312a0574bf7876b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 26 Mar 2024 13:38:04 +0000 Subject: [PATCH] Bug 34440: Add isSameOrBefore dayjs plugin Sponsored-by: Cuyahoga County Public Library Signed-off-by: Kristi Krueger Signed-off-by: Paul Derscheid Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/lib/dayjs/plugin/isSameOrBefore.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 koha-tmpl/intranet-tmpl/lib/dayjs/plugin/isSameOrBefore.js diff --git a/koha-tmpl/intranet-tmpl/lib/dayjs/plugin/isSameOrBefore.js b/koha-tmpl/intranet-tmpl/lib/dayjs/plugin/isSameOrBefore.js new file mode 100644 index 0000000000..9413c5554a --- /dev/null +++ b/koha-tmpl/intranet-tmpl/lib/dayjs/plugin/isSameOrBefore.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrBefore=t()}(this,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}})); -- 2.39.5