Skip to content

Commit

Permalink
6.7.19 (#2876)
Browse files Browse the repository at this point in the history
* should fix #2860

* should fix #2817

* 6.7.19
  • Loading branch information
Eonasdan authored Nov 10, 2023
1 parent 99bbb60 commit 41ee0a4
Show file tree
Hide file tree
Showing 21 changed files with 299 additions and 203 deletions.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/R6R53OEFF)

# Tempus Dominus Date/Time Picker v6.7.16
# Tempus Dominus Date/Time Picker v6.7.19

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.

# Ready State

V6 has shipped! You can see the [rough roadmap here](https://github.com/users/Eonasdan/projects/1).

# Community

Need help or want to discuss some? Join [the discord](https://discord.gg/BHS9jw9YPf).

Please also take a look at the [discussions](https://github.com/Eonasdan/tempus-dominus/discussions). There are several RFCs (Request For Comment) open, and you can help shape the future of the picker by participating in these discussions.

# Developers

## Building
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.7.16",
"version": "6.7.19",
"style": "dist/css/tempus-dominus.css",
"sass": "scss/tempus-dominus.scss",
"main": "dist/js/tempus-dominus.js",
Expand Down
7 changes: 0 additions & 7 deletions qodana.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sonar.organization=eonasdan
sonar.projectKey=Eonasdan_tempus-dominus

sonar.projectName=tempus-dominus
sonar.projectVersion=6.7.16
sonar.projectVersion=6.7.19

sonar.sources = src/
sonar.tests = test/
14 changes: 14 additions & 0 deletions src/docs/partials/change-log.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
<div id='change-log'>
<h1>Version 6</h1>

<div class='row'>
<h2>6.7.19</h2>
<h3>New</h3>
<ul>
<li>Added <code>maxWeekdayLength</code>. This option will truncate the day of the week header.</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fixed #2871</li>
<li>Fixed #2860</li>
<li>Fixed #2817</li>
</ul>
</div>

<div class='row'>
<h2>6.7.16</h2>
<h3>Bug fixes</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/core@2.11.6/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/tempus-dominus@6.7.16/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/tempus-dominus@6.7.19/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/tempus-dominus@6.7.16/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/tempus-dominus@6.7.19/dist/css/tempus-dominus.min.css&quot; crossorigin=&quot;anonymous&quot;&gt;</code>
</pre>
</div>

Expand Down
12 changes: 12 additions & 0 deletions src/docs/partials/options/localization.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,17 @@ <h2 id='startOfTheWeek'>startOfTheWeek<a class='anchor-link' aria-label='Anchor'
</p>
</div>

<div class='row'>
<h2 id='maxWeekdayLength'>maxWeekdayLength<a class='anchor-link' aria-label='Anchor'
href='#maxWeekdayLength'><i
class='fa-solid fa-anchor' aria-hidden='true'></i></a>
</h2>
<p>
<strong>Accepts:</strong> number <strong>Defaults:</strong> 0<br />
If provided the weekday string will be truncated to this length. This is useful when the Intl values are too long.
</p>
</div>

<div class='row'>
<h2 id='hourCycle'>hourCycle<a class='anchor-link' aria-label='Anchor'
href='#hourCycle'><i
Expand Down Expand Up @@ -511,6 +522,7 @@ <h2 id='format'>format<a class='anchor-link' aria-label='Anchor'
<li><a href='#dayViewHeaderFormat'>Day View Header Format</a></li>
<li><a href='#locale'>Locale</a></li>
<li><a href='#startOfTheWeek'>Start Of The Week</a></li>
<li><a href='#maxWeekdayLength'>Max Weekday Length</a></li>
<li><a href='#dateFormats'>Date Formats</a>
<ul>
<li><a href='#dateFormatsLTS'>LTS</a></li>
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.7.16</strong>
Currently <strong>v6.7.19</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/core@2.11.6/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/tempus-dominus@6.7.16/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/tempus-dominus@6.7.19/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/tempus-dominus@6.7.16/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/tempus-dominus@6.7.19/dist/css/tempus-dominus.min.css&quot; crossorigin=&quot;anonymous&quot;&gt;</code>
</pre>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/docs/templates/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<span class='d-none d-lg-inline'>Tempus Dominus</span> v6.0
</button>
<ul class='dropdown-menu dropdown-menu-end' aria-labelledby='bd-versions'>
<li><a class='dropdown-item current' aria-current='true' href='/6/'>Latest (6.7.16)</a></li>
<li><a class='dropdown-item current' aria-current='true' href='/6/'>Latest (6.7.19)</a></li>
<li>
<hr class='dropdown-divider'>
</li>
Expand Down 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.7.16</li>
<li class='mb-2'>Currently v6.7.19</li>
</ul>
</div>
<div class='col-6 col-lg-2 offset-lg-1 mb-3'>
Expand Down
Loading

0 comments on commit 41ee0a4

Please sign in to comment.