Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Eonasdan committed Nov 5, 2022
2 parents 2f6af52 + fc2a949 commit 79f4b06
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 12 deletions.
4 changes: 3 additions & 1 deletion 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.

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

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion 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.

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

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions src/docs/partials/change-log.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@
<div id='change-log'>
<h1>Version 6</h1>

<div class='row'>
<h2>6.2.7</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fixed calendar header not updating correctly #2685</li>
<li>Fixed clock components disappearing when using side by side #2684</li>
</ul>
</div>

<div class='row'>
<h2>6.2.6</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fixed disabled/enabled dates performance issue. This also should fix the next/previous month selection #2658</li>
<li>Fixed view date syncing across options and not updating correctly #2611</li>
</ul>
<h3>New</h3>
<ul>

</ul>
</div>

<div class='row'>
Expand Down
11 changes: 11 additions & 0 deletions src/docs/templates/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,17 @@ <h5>Community</h5>
'floating-chat.donateButton.text-color': '#fff'
});
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CL5K7E80FB"></script>
<script>
if (location.hostname === 'getdatepicker.com') {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-CL5K7E80FB');
}
</script>
<link rel='stylesheet' href='/css/carbon.css' />
</body>
</html>
8 changes: 6 additions & 2 deletions src/js/display/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,10 @@ export default class Display {
}

picker.style.display = 'grid';

if (this.optionsStore.options.display.sideBySide)
(<HTMLElement>(this.widget.querySelectorAll(`.${Namespace.css.clockContainer}`)[0])).style.display = 'grid';

this._updateCalendarHeader();
this._eventEmitters.viewUpdate.emit();
}
Expand Down Expand Up @@ -452,9 +456,9 @@ export default class Display {
'title',
this.optionsStore.options.localization.nextMonth
);
switcher.innerText = this.optionsStore.viewDate.format(
switcher.setAttribute(showing, this.optionsStore.viewDate.format(
this.optionsStore.options.localization.dayViewHeaderFormat
);
));
break;
}
switcher.innerText = switcher.getAttribute(showing);
Expand Down

0 comments on commit 79f4b06

Please sign in to comment.