Skip to content

Commit

Permalink
Fixed a bug where last update date of a plugin in the Plugin Store wa…
Browse files Browse the repository at this point in the history
…s not properly formatted on Safari. Fixed #2733
  • Loading branch information
benjamindavid committed Apr 13, 2018
1 parent 43180f8 commit 575a445
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- Fixed a bug where it was not possible to save system messages in some cases.
- Fixed a bug where static translations within dynamic entry title formats were getting translated using the current site’s language, rather than the entry’s language. ([#2722](https://github.com/craftcms/cms/issues/2722))
- Fixed a bug where deprecation errors for some date formatting methods were not escaping backslashes.
- Fixed a bug where last update date of a plugin in the Plugin Store was not properly formatted on Safari. ([#2733](https://github.com/craftcms/cms/issues/2733))

## 3.0.2 - 2018-04-10

Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/pluginstore/dist/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/pluginstore/dist/js/main.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@
},
lastUpdate() {
return Craft.formatDate(this.plugin.lastUpdate)
const date = new Date(this.plugin.lastUpdate.replace(/\s/, 'T'))
return Craft.formatDate(date)
},
csrfTokenName() {
Expand Down

0 comments on commit 575a445

Please sign in to comment.