Skip to content

Commit

Permalink
6.2.5 (#2696)
Browse files Browse the repository at this point in the history
* Polish localization file pl.js (#2673)

* updated locale (#2676)

* Update codeql-analysis.yml (#2690)

Update to latest version.

REF: https://github.com/github/codeql-action#usage

* updated FR template

* version bump

* version bump

* export Options

* export Options

* export Options

Co-authored-by: Wojciech Frącz <[email protected]>
Co-authored-by: Christian Oliff <[email protected]>
  • Loading branch information
3 people authored Oct 25, 2022
1 parent 6d0e929 commit 3868ddf
Show file tree
Hide file tree
Showing 53 changed files with 435 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Feature request
description: Suggest new or updated features.
title: "Suggest a new feature"
labels: ["Type: feature request"]
labels: ["Type: feature request", "State: Triage"]
assignees: []
body:
- type: checkboxes
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
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.2.4
# Tempus Dominus Date/Time Picker v6.2.5

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.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (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.

4 changes: 2 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.

4 changes: 2 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.

12 changes: 11 additions & 1 deletion dist/locales/ar-SA.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -34,4 +34,14 @@ const localization = {
dayViewHeaderFormat: { month: "long", year: "2-digit" },
locale: "ar-SA",
startOfTheWeek: 1,
dateFormats: {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L: 'DD/MM/YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY HH:mm',
LLLL: 'dddd D MMMM YYYY HH:mm'
},
ordinal: (n) => n,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
12 changes: 11 additions & 1 deletion dist/locales/ar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -34,4 +34,14 @@ const localization = {
dayViewHeaderFormat: { month: "long", year: "2-digit" },
locale: "ar",
startOfTheWeek: 1,
dateFormats: {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L: 'D/M/YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY HH:mm',
LLLL: 'dddd D MMMM YYYY HH:mm'
},
ordinal: (n) => n,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
14 changes: 12 additions & 2 deletions dist/locales/de.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -33,5 +33,15 @@ const localization = {
selectDate: 'Datum wählen',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
locale: 'de',
startOfTheWeek: 1
startOfTheWeek: 1,
dateFormats: {
LTS: 'HH:mm:ss',
LT: 'HH:mm',
L: 'DD.MM.YYYY',
LL: 'D. MMMM YYYY',
LLL: 'D. MMMM YYYY HH:mm',
LLLL: 'dddd, D. MMMM YYYY HH:mm'
},
ordinal: n => `${n}.`,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
14 changes: 12 additions & 2 deletions dist/locales/es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -33,5 +33,15 @@ const localization = {
selectDate: 'Seleccionar fecha',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
locale: 'es',
startOfTheWeek: 1
startOfTheWeek: 1,
dateFormats: {
LT: 'H:mm',
LTS: 'H:mm:ss',
L: 'DD/MM/YYYY',
LL: 'D [de] MMMM [de] YYYY',
LLL: 'D [de] MMMM [de] YYYY H:mm',
LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
},
ordinal: n => `${n}º`,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
18 changes: 16 additions & 2 deletions dist/locales/fi.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -33,5 +33,19 @@ const localization = {
selectDate: 'Valise päivä',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
locale: 'fi',
startOfTheWeek: 1
startOfTheWeek: 1,
dateFormats: {
LT: 'HH.mm',
LTS: 'HH.mm.ss',
L: 'DD.MM.YYYY',
LL: 'D. MMMM[ta] YYYY',
LLL: 'D. MMMM[ta] YYYY, [klo] HH.mm',
LLLL: 'dddd, D. MMMM[ta] YYYY, [klo] HH.mm',
l: 'D.M.YYYY',
ll: 'D. MMM YYYY',
lll: 'D. MMM YYYY, [klo] HH.mm',
llll: 'ddd, D. MMM YYYY, [klo] HH.mm'
},
ordinal: n => `${n}.`,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
17 changes: 15 additions & 2 deletions dist/locales/fr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -33,5 +33,18 @@ const localization = {
selectDate: 'Sélectionner une date',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
locale: 'fr',
startOfTheWeek: 1
startOfTheWeek: 1,
dateFormats: {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L: 'DD/MM/YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY HH:mm',
LLLL: 'dddd D MMMM YYYY HH:mm'
},
ordinal: (n) => {
const o = n === 1 ? 'er' : '';
return `${n}${o}`;
},
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
14 changes: 12 additions & 2 deletions dist/locales/it.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -33,5 +33,15 @@ const localization = {
selectDate: 'Seleziona una data',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
locale: 'it',
startOfTheWeek: 1
startOfTheWeek: 1,
dateFormats: {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L: 'DD/MM/YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY HH:mm',
LLLL: 'dddd D MMMM YYYY HH:mm'
},
ordinal: n => `${n}º`,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
14 changes: 12 additions & 2 deletions dist/locales/nl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -33,5 +33,15 @@ const localization = {
selectDate: 'Selecteer een datum',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
locale: 'nl',
startOfTheWeek: 1
startOfTheWeek: 1,
dateFormats: {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L: 'DD-MM-YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY HH:mm',
LLLL: 'dddd D MMMM YYYY HH:mm'
},
ordinal: n => `[${n}${n === 1 || n === 8 || n >= 20 ? 'ste' : 'de'}]`,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
47 changes: 47 additions & 0 deletions dist/locales/pl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*!
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports):typeof define==='function'&&define.amd?define(['exports'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f((g.tempusDominus=g.tempusDominus||{},g.tempusDominus.locales=g.tempusDominus.locales||{},g.tempusDominus.locales.pl={})));})(this,(function(exports){'use strict';const name = 'pl';
const localization = {
today: 'Dzisiaj',
clear: 'Wyczyść',
close: 'Zamknij',
selectMonth: 'Wybierz miesiąc',
previousMonth: 'Poprzedni miesiąc',
nextMonth: 'Następny miesiąc',
selectYear: 'Wybierz rok',
previousYear: 'Poprzedni rok',
nextYear: 'Następny rok',
selectDecade: 'Wybierz dekadę',
previousDecade: 'Poprzednia dekada',
nextDecade: 'Następna dekada',
previousCentury: 'Poprzednie stulecie',
nextCentury: 'Następne stulecie',
pickHour: 'Wybierz godzinę',
incrementHour: 'Kolejna godzina',
decrementHour: 'Poprzednia godzina',
pickMinute: 'Wybierz minutę',
incrementMinute: 'Kolejna minuta',
decrementMinute: 'Poprzednia minuta',
pickSecond: 'Wybierz sekundę',
incrementSecond: 'Kolejna sekunda',
decrementSecond: 'Poprzednia sekunda',
toggleMeridiem: 'Przełącz porę dnia',
selectTime: 'Ustaw godzinę',
selectDate: 'Ustaw datę',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
locale: 'pl',
startOfTheWeek: 1,
dateFormats: {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L: 'DD.MM.YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY HH:mm',
LLLL: 'dddd, D MMMM YYYY HH:mm'
},
ordinal: n => `${n}.`,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
14 changes: 12 additions & 2 deletions dist/locales/ro.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -33,5 +33,15 @@ const localization = {
selectDate: 'Selectează data',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
locale: 'ro',
startOfTheWeek: 1
startOfTheWeek: 1,
dateFormats: {
LT: 'H:mm',
LTS: 'H:mm:ss',
L: 'DD.MM.YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY H:mm',
LLLL: 'dddd, D MMMM YYYY H:mm'
},
ordinal: (n) => n,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
14 changes: 12 additions & 2 deletions dist/locales/ru.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.2.4 (https://getdatepicker.com/)
* Tempus Dominus v6.2.5 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -33,5 +33,15 @@ const localization = {
selectDate: 'Выбрать дату',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
locale: 'ru',
startOfTheWeek: 1
startOfTheWeek: 1,
dateFormats: {
LT: 'H:mm',
LTS: 'H:mm:ss',
L: 'DD.MM.YYYY',
LL: 'D MMMM YYYY г.',
LLL: 'D MMMM YYYY г., H:mm',
LLLL: 'dddd, D MMMM YYYY г., H:mm'
},
ordinal: (n) => n,
format: 'L LT'
};exports.localization=localization;exports.name=name;Object.defineProperty(exports,'__esModule',{value:true});}));
Loading

0 comments on commit 3868ddf

Please sign in to comment.