Skip to content

Commit

Permalink
Release v2.9.10
Browse files Browse the repository at this point in the history
  • Loading branch information
uvarov-frontend committed Aug 21, 2024
1 parent 828228b commit 629931a
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package/build/themes/dark.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package/build/themes/light.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package/build/vanilla-calendar.layout.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package/build/vanilla-calendar.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package/build/vanilla-calendar.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package/build/vanilla-calendar.min.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-calendar-pro",
"version": "2.9.9",
"version": "2.9.10",
"description": "Vanilla Calendar is a versatile JavaScript date and time picker with TypeScript support, making it compatible with any JavaScript framework or library. It is designed to be lightweight, simple to use, and feature-rich without relying on external dependencies.",
"homepage": "https://vanilla-calendar.pro",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion package/utilities/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package/utilities/index.mjs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/*! name: vanilla-calendar-pro v2.9.9 | url: https://github.com/uvarov-frontend/vanilla-calendar-pro */
/*! name: vanilla-calendar-pro v2.9.10 | url: https://github.com/uvarov-frontend/vanilla-calendar-pro */
const getDateString$1=t=>`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`,getDate$1=t=>new Date(`${t}T00:00:00`),parseDates$1=t=>t.reduce(((t,e)=>{if(e instanceof Date||"number"==typeof e){const a=e instanceof Date?e:new Date(e);t.push(a.toISOString().substring(0,10))}else e.match(/^(\d{4}-\d{2}-\d{2})$/g)?t.push(e):e.replace(/(\d{4}-\d{2}-\d{2}).*?(\d{4}-\d{2}-\d{2})/g,((e,a,g)=>{const r=getDate$1(a),n=getDate$1(g),D=new Date(r.getTime());for(;D<=n;D.setDate(D.getDate()+1))t.push(getDateString$1(D));return e}));return t}),[]),parseDates=t=>parseDates$1(t),getDateString=t=>getDateString$1(t),getDate=t=>getDate$1(t);export{getDate,getDateString,parseDates};

0 comments on commit 629931a

Please sign in to comment.