Skip to content

Commit

Permalink
Fixed #13233
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed May 23, 2023
1 parent 28d05d6 commit e1714a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Removed the OAuth 2.0 Client library, as it’s no longer used in core.
- Fixed a bug where activation emails sent to newly-created users could link to the front-end site, if they were granted control panel access via a user group. ([#13204](https://github.com/craftcms/cms/issues/13204))
- Fixed a bug where it wasn’t possible to drag Verbb Navigation nodes via their drag handles. ([#12896](https://github.com/craftcms/cms/issues/12896))
- Fixed a bug where Date fields could display the wrong date. ([#13233](https://github.com/craftcms/cms/issues/13233))
- Deprecated the `Craft.startsWith()` JavaScript method. `String.prototype.startsWith()` should be used instead.

## 3.8.11 - 2023-05-15
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_includes/forms/date.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
autocomplete: false,
size: 10,
placeholder: ' ',
value: value ? value|date(isMobile ? 'Y-m-d' : 'short') : '',
value: value ? value|date(isMobile ? 'Y-m-d' : 'short', false) : '',
inputAttributes: {
aria: {
label: isDateTime ? 'Date'|t('app') : false,
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_includes/forms/time.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
autocomplete: false,
size: 10,
placeholder: ' ',
value: value ? value|time(isMobile ? 'H:i' : 'short') : '',
value: value ? value|time(isMobile ? 'H:i' : 'short', false) : '',
inputAttributes: {
aria: {
label: isDateTime ? 'Time'|t('app') : false,
Expand Down

0 comments on commit e1714a8

Please sign in to comment.