t20-common-lib 0.15.45 → 0.15.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "t20-common-lib",
3
- "version": "0.15.45",
3
+ "version": "0.15.46",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -33,8 +33,8 @@ const getShortcutDefinitions = () => ({
33
33
  'today': {
34
34
  text: $lc('今天'),
35
35
  onClick(picker) {
36
- const start = new Date()
37
- const end = new Date()
36
+ const start = dayjs().format('YYYY-MM-DD')
37
+ const end = dayjs().format('YYYY-MM-DD')
38
38
  picker.$emit('pick', [start, end])
39
39
  }
40
40
  },