Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m7s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m7s
# Conflicts: # src/stores/mixin.ts
This commit is contained in:
commit
5a86f78061
1 changed files with 1 additions and 1 deletions
|
|
@ -946,7 +946,7 @@ export const useCounterMixin = defineStore("mixin", () => {
|
|||
if (!startDate || !endDate) return "";
|
||||
|
||||
let start = moment(startDate).startOf("day");
|
||||
let end = moment(endDate).startOf("day").add(1, "days");
|
||||
let end = moment(endDate).startOf("day").add(1, "day");
|
||||
|
||||
// สลับค่าเพื่อให้ end มากกว่า start เสมอ
|
||||
if (start > end) [start, end] = [end, start];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue