mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
code refactor
This commit is contained in:
+2
-2
@@ -137,7 +137,7 @@ function getThisYearLastUnixTime() {
|
||||
return moment.unix(getThisYearFirstUnixTime()).add(1, 'years').subtract(1, 'seconds').unix();
|
||||
}
|
||||
|
||||
function getShiftedtDateRange(minTime, maxTime, scale) {
|
||||
function getShiftedDateRange(minTime, maxTime, scale) {
|
||||
const minDateTime = parseDateFromUnixTime(minTime);
|
||||
const maxDateTime = parseDateFromUnixTime(maxTime);
|
||||
|
||||
@@ -548,7 +548,7 @@ export default {
|
||||
getThisMonthLastUnixTime,
|
||||
getThisYearFirstUnixTime,
|
||||
getThisYearLastUnixTime,
|
||||
getShiftedtDateRange,
|
||||
getShiftedDateRange,
|
||||
getDateRangeByDateType,
|
||||
copyObjectTo,
|
||||
copyArrayTo,
|
||||
|
||||
Reference in New Issue
Block a user