Skip to content

Commit

Permalink
fixed calendar date issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewyin1994 authored and thekaveman committed Dec 19, 2018
1 parent 15eb09c commit f9f9b0a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/CalendarItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
time() {
if (this.start && 'date' in this.start) {
return new Date(this.start.date).toLocaleString('en-US', {
timeZone: 'America/Los_Angeles',
timeZone: 'UTC',
weekday: 'long',
day: 'numeric',
month: 'long',
Expand All @@ -64,5 +64,4 @@ export default {
};
</script>

<style>
</style>
<style></style>

0 comments on commit f9f9b0a

Please sign in to comment.