|
@@ -25,8 +25,8 @@ export function useNow(immediate = true) {
|
|
|
|
|
|
state.year = now.get('y');
|
|
|
state.month = now.get('M') + 1;
|
|
|
- state.week = '星期' + ['一', '二', '三', '四', '五', '六', '日'][now.day() - 1];
|
|
|
- state.day = now.get('d');
|
|
|
+ state.week = '星期' + ['日', '一', '二', '三', '四', '五', '六'][now.day()];
|
|
|
+ state.day = now.get('date');
|
|
|
state.hour = h;
|
|
|
state.minute = m;
|
|
|
state.second = s;
|