frappe / books

Free Accounting Software
https://frappe.io/books
GNU Affero General Public License v3.0
2.86k stars 660 forks source link

Date.vue Handles Local Time Incorrectly #700

Closed 01111010t closed 1 year ago

01111010t commented 1 year ago

I grabbed the latest master with #699 , issue still persists with the Journal Entry page.

I was able to build on your fix to resolve it in date.vue line 118: //let value: Date | null = new Date(target.value); let value: Date | null = DateTime.fromISO(target.value).toJSDate();

Maybe this will help close it out?

18alantom commented 1 year ago

Thanks once again, I've pushed the fix in #703 switched the usage for when the value is pulled out of the DB too.