From 9981ec3c4208c1da05668d4e6cce20f3b878a7a3 Mon Sep 17 00:00:00 2001 From: Mohammad Dayyan Date: Fri, 26 Feb 2021 20:44:56 +0330 Subject: [PATCH] Fix bug --- dist/jquery.md.bootstrap.datetimepicker.js | 4 +- .../jquery.md.bootstrap.datetimepicker.js.map | 2 +- ...uery.md.bootstrap.datetimepicker.style.css | 2 +- package.json | 4 +- src/jquery.md.bootstrap.datetimepicker.js | 88 +++++++++---------- webpack.config.js | 2 +- 6 files changed, 51 insertions(+), 51 deletions(-) diff --git a/dist/jquery.md.bootstrap.datetimepicker.js b/dist/jquery.md.bootstrap.datetimepicker.js index 1eee590..5affc45 100644 --- a/dist/jquery.md.bootstrap.datetimepicker.js +++ b/dist/jquery.md.bootstrap.datetimepicker.js @@ -2,10 +2,10 @@ * * Bootstrap 4+ Persian Date Time Picker jQuery Plugin * https://github.com/Mds92/MD.BootstrapPersianDateTimePicker - * version : 3.10.0 + * version : 3.10.1 * Written By Mohammad Dayyan, Mordad 1397 - 1400 * mds.soft@gmail.com - @mdssoft * * - */!function(e){function t(e,t,a){return function(e){var t,a,r,d=s(e).gy,c=d-621,u=n(c),m=o(d,3,u.march);if((r=e-m)>=0){if(r<=185)return{jy:c,jm:a=1+i(r,31),jd:t=l(r,31)+1};r-=186}else c-=1,r+=179,1===u.leap&&(r+=1);return a=7+i(r,30),t=l(r,30)+1,{jy:c,jm:a,jd:t}}(o(e,t,a))}function a(e,t,a){return s(function(e,t,a){var r=n(e);return o(r.gy,3,r.march)+31*(t-1)-i(t,7)*(t-7)+a-1}(e,t,a))}function r(e){return 0===n(e).leap}function n(e){var t,a,r,n,o=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178],s=o.length,d=e+621,c=-14,u=o[0],m=1;if(e=o[s-1])throw new Error("Invalid Jalaali year "+e);for(n=1;n