correct default value for calender date prop

This commit is contained in:
chfhtw
2025-08-01 15:10:04 +02:00
parent 868c15f47d
commit e326c9483d
+1 -1
View File
@@ -58,7 +58,7 @@ export default {
},
date: {
type: [Date, String, Number, luxon.DateTime],
default: luxon.DateTime.local()
default: props => luxon.DateTime.now().setZone(props.timezone).startOf('day')
},
modes: {
type: Object,