mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
support custom first day of week
This commit is contained in:
@@ -1,3 +1,34 @@
|
||||
const allWeekDays = {
|
||||
Sunday: {
|
||||
type: 0,
|
||||
name: 'Sunday'
|
||||
},
|
||||
Monday: {
|
||||
type: 1,
|
||||
name: 'Monday'
|
||||
},
|
||||
Tuesday: {
|
||||
type: 2,
|
||||
name: 'Tuesday'
|
||||
},
|
||||
Wednesday: {
|
||||
type: 3,
|
||||
name: 'Wednesday'
|
||||
},
|
||||
Thursday: {
|
||||
type: 4,
|
||||
name: 'Thursday'
|
||||
},
|
||||
Friday: {
|
||||
type: 5,
|
||||
name: 'Friday'
|
||||
},
|
||||
Saturday: {
|
||||
type: 6,
|
||||
name: 'Saturday'
|
||||
}
|
||||
};
|
||||
|
||||
const allDateRanges = {
|
||||
All: {
|
||||
type: 0,
|
||||
@@ -50,5 +81,6 @@ const allDateRanges = {
|
||||
};
|
||||
|
||||
export default {
|
||||
allWeekDays: allWeekDays,
|
||||
allDateRanges: allDateRanges,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user