diff --git a/frontend/src/model/photo.js b/frontend/src/model/photo.js index 92b5a0fef..28e32b399 100644 --- a/frontend/src/model/photo.js +++ b/frontend/src/model/photo.js @@ -1,7 +1,7 @@ import Abstract from "model/abstract"; import Api from "common/api"; import truncate from "truncate"; -import moment from "moment-timezone"; +import moment from "moment"; class Photo extends Abstract { getEntityName() { @@ -91,9 +91,7 @@ class Photo extends Abstract { } getDateString() { - let m = moment(this.TakenAt).tz(this.TimeZone); - - return m.format('LLL'); + return moment(this.TakenAt).format('LLL'); } hasLocation() { diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 3ac9e9e80..590d97aee 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -48,8 +48,8 @@ const config = { }, performance: { hints: isDev ? false : "error", - maxEntrypointSize: 1512000, - maxAssetSize: 1512000, + maxEntrypointSize: 2000000, + maxAssetSize: 2000000, }, module: { rules: [