Skip to content

Commit

Permalink
* fixes #2774 (#2780)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eonasdan authored Mar 21, 2023
1 parent 55326d7 commit fbb65fa
Show file tree
Hide file tree
Showing 43 changed files with 77 additions and 48 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *' #at 1:30 pm

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
any-of-labels: 'State: Waiting feedback'
stale-issue-label: 'State: Stale'
stale-pr-label: 'State: Stale'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Rate on Openbase](https://badges.openbase.com/js/rating/@eonasdan/tempus-dominus.svg)](https://openbase.com/js/@eonasdan/tempus-dominus?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge)

# Tempus Dominus Date/Time Picker v6.4.3
# Tempus Dominus Date/Time Picker v6.4.4

Tempus Dominus is a powerful and robust date time picker for javascript. Version 6 is another major rewrite over the previous version. V6 is written with modern browsers in mind and is written in typescript. Bootstrap, momentjs and jQuery are no longer required dependencies. Popper2 is all that is required for the picker to position correctly. If you still require jQuery (seriously, you should move off that asap) there's a jQuery provider that wraps the native js functions.

Expand Down
2 changes: 1 addition & 1 deletion dist/js/jQuery-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*global $, tempusDominus */

/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2021 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/js/jQuery-provider.min.js

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

5 changes: 3 additions & 2 deletions dist/js/tempus-dominus.esm.js

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

2 changes: 1 addition & 1 deletion dist/js/tempus-dominus.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/tempus-dominus.esm.min.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/js/tempus-dominus.js

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

2 changes: 1 addition & 1 deletion dist/js/tempus-dominus.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/tempus-dominus.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/locales/ar-SA.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/ar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/de.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/fi.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/fr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/it.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/nl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/pl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/ro.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/ru.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/sl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/tr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/bi-one.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/customDateFormat.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/fa-five.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/moment-parse.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2023 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Jonathan Peterson"
},
"name": "@eonasdan/tempus-dominus",
"version": "6.4.3",
"version": "6.4.4",
"style": "dist/css/tempus-dominus.css",
"sass": "scss/tempus-dominus.scss",
"main": "dist/js/tempus-dominus.js",
Expand Down
10 changes: 10 additions & 0 deletions src/docs/partials/change-log.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
<div id='change-log'>
<h1>Version 6</h1>

<div class='row'>
<h2>6.4.4</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fixed an issue with the date formatting</li>
<li>Fixed format escape brackets</li>
<li>Fixes setting a date to null #2774</li>
</ul>
</div>

<div class='row'>
<h2>6.4.1</h2>
<h3>New</h3>
Expand Down
4 changes: 2 additions & 2 deletions src/docs/partials/installing.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ <h2 id='cdn'>Via CDN</h2>
<code class='language-html'>&lt;!-- Popperjs --&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
&lt;!-- Tempus Dominus JavaScript --&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@eonasdan/[email protected].3/dist/js/tempus-dominus.min.js&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@eonasdan/[email protected].4/dist/js/tempus-dominus.min.js&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;

&lt;!-- Tempus Dominus Styles --&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@eonasdan/[email protected].3/dist/css/tempus-dominus.min.css&quot; crossorigin=&quot;anonymous&quot;&gt;</code>
&lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@eonasdan/[email protected].4/dist/css/tempus-dominus.min.css&quot; crossorigin=&quot;anonymous&quot;&gt;</code>
</pre>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/docs/partials/options/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
</pre>

<div class='row'>
<h2 id='dateRange'>dateRange <small>(as of 6.4.3)</small> <a class='anchor-link' aria-label='Anchor' href='#dateRange'><i
<h2 id='dateRange'>dateRange <small>(as of 6.4.4)</small> <a class='anchor-link' aria-label='Anchor' href='#dateRange'><i
class='fa-solid fa-anchor' aria-hidden='true'></i></a>
</h2>
<p>
Expand Down
6 changes: 3 additions & 3 deletions src/docs/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1 class='mb-3 fw-semibold'>Powerful and robust date and time picker</h1>
</div>
</div>
<p class='text-muted mb-0'>
Currently <strong>v6.4.3</strong>
Currently <strong>v6.4.4</strong>
<span class='px-1'>&middot;</span>
<a href='https://getdatepicker.com/5-4/' class='link-secondary'>v5 docs</a>
</p>
Expand Down Expand Up @@ -55,10 +55,10 @@ <h3 class='fw-semibold'>JsDelivr</h3>
<code class='language-html'>&lt;!-- Popperjs --&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js&quot; integrity=&quot;sha256-BRqBN7dYgABqtY9Hd4ynE+1slnEw+roEPFzQ7TRRfcg=&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
&lt;!-- Tempus Dominus JavaScript --&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@eonasdan/[email protected].3/dist/js/tempus-dominus.min.js&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@eonasdan/[email protected].4/dist/js/tempus-dominus.min.js&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;

&lt;!-- Tempus Dominus Styles --&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@eonasdan/[email protected].3/dist/css/tempus-dominus.min.css&quot; crossorigin=&quot;anonymous&quot;&gt;</code>
&lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@eonasdan/[email protected].4/dist/css/tempus-dominus.min.css&quot; crossorigin=&quot;anonymous&quot;&gt;</code>
</pre>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/docs/templates/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
target='_blank' rel='license noopener'>MIT</a>, docs <a
href='https://creativecommons.org/licenses/by/3.0/' target='_blank' rel='license noopener'>CC BY 3.0</a>.
</li>
<li class='mb-2'>Currently v6.4.3</li>
<li class='mb-2'>Currently v6.4.4</li>
</ul>
</div>
<div class='col-6 col-lg-2 offset-lg-1 mb-3'>
Expand Down
1 change: 1 addition & 0 deletions src/js/dates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export default class Dates {
// case of calling setValue(null)
if (!target) {
this._setValueNull(isClear, index, oldDate);
return;
}

index = index || 0;
Expand Down
2 changes: 1 addition & 1 deletion src/js/jQuery-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*global $, tempusDominus */

/*!
* Tempus Dominus v6.4.3 (https://getdatepicker.com/)
* Tempus Dominus v6.4.4 (https://getdatepicker.com/)
* Copyright 2013-2021 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion src/js/tempus-dominus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ const extend = function (plugin, option = undefined) {
return tempusDominus;
};

const version = '6.4.3';
const version = '6.4.4';

const tempusDominus = {
TempusDominus,
Expand Down
2 changes: 1 addition & 1 deletion src/nuget/TempusDominus.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>TempusDominus</id>
<version>6.4.3</version>
<version>6.4.4</version>
<title>Tempus Dominus</title>
<authors>Eonasdan</authors>
<owners>Eonasdan</owners>
Expand Down
2 changes: 1 addition & 1 deletion src/nuget/TempusDominus.scss.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>TempusDominus.scss</id>
<version>6.4.3</version>
<version>6.4.4</version>
<title>Tempus Dominus</title>
<authors>Eonasdan</authors>
<owners>Eonasdan</owners>
Expand Down
2 changes: 1 addition & 1 deletion types/tempus-dominus.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ declare const extend: (
Unit: typeof Unit;
version: string;
};
declare const version = '6.4.3';
declare const version = '6.4.4';
export {
TempusDominus,
extend,
Expand Down
2 changes: 1 addition & 1 deletion types/tempus-dominus.esm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ declare const extend: (
Unit: typeof Unit;
version: string;
};
declare const version = '6.4.3';
declare const version = '6.4.4';
export {
TempusDominus,
extend,
Expand Down
2 changes: 1 addition & 1 deletion types/tempus-dominus.esm.min.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ declare const extend: (
Unit: typeof Unit;
version: string;
};
declare const version = '6.4.3';
declare const version = '6.4.4';
export {
TempusDominus,
extend,
Expand Down
2 changes: 1 addition & 1 deletion types/tempus-dominus.min.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ declare const extend: (
Unit: typeof Unit;
version: string;
};
declare const version = '6.4.3';
declare const version = '6.4.4';
export {
TempusDominus,
extend,
Expand Down

0 comments on commit fbb65fa

Please sign in to comment.