You've already forked openaccounting-web
mirror of
https://github.com/openaccounting/oa-web.git
synced 2025-12-09 00:51:01 +13:00
fix report date bug
This commit is contained in:
@@ -20,8 +20,7 @@ export class Util {
|
||||
let date = new Date();
|
||||
date.setHours(0, 0, 0, 0);
|
||||
date.setFullYear(parseInt(parts[0]));
|
||||
date.setMonth(parseInt(parts[1]) - 1);
|
||||
date.setDate(parseInt(parts[2]));
|
||||
date.setMonth(parseInt(parts[1]) - 1, parseInt(parts[2]));
|
||||
|
||||
return date;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user