diff --git a/front/core/components/calendar/index.html b/front/core/components/calendar/index.html index 0ece00f61..25af81815 100644 --- a/front/core/components/calendar/index.html +++ b/front/core/components/calendar/index.html @@ -78,9 +78,9 @@
- {{::day.date | dateTime: 'd'}} + {{::day.date | date: 'd'}} - {{::day.date | dateTime: 'd'}} + {{::day.date | date: 'd'}}
diff --git a/front/core/components/calendar/index.js b/front/core/components/calendar/index.js index cc90846f7..e26e6890a 100644 --- a/front/core/components/calendar/index.js +++ b/front/core/components/calendar/index.js @@ -116,9 +116,6 @@ export default class Calendar extends Component { } addDay(date, day, color = '') { - const curDate = new Date(); - curDate.setHours(0, 0, 0, 0); - const newDate = new Date( date.getFullYear(), date.getMonth(), day);