mirror of
https://github.com/frappe/books.git
synced 2025-02-02 12:08:27 +00:00
Merge pull request #1082 from AbleKSaju/fix-print-template-date
fix: resolved date mismatch in print template
This commit is contained in:
commit
55606dcf2d
@ -109,7 +109,7 @@ export async function getPrintTemplatePropValues(
|
||||
|
||||
function getDate(dateString: string): string {
|
||||
const date = new Date(dateString);
|
||||
date.setMonth(date.getMonth() - 1);
|
||||
date.setMonth(date.getMonth());
|
||||
|
||||
return `${date.toLocaleString('default', {
|
||||
month: 'short',
|
||||
|
Loading…
x
Reference in New Issue
Block a user