webERP Forum
Unknown Date Format - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: Unknown Date Format (/showthread.php?tid=8180)



Unknown Date Format - VortecCPI - 06-20-2018

I have been seeing this error in certain places in webERP. For example when I choose a date for DailyBankTransactions.php script I see this error.

I am about to look a the code but I figured one of you may be able to identify it right away...

[attachment=842]
It appears this:

PHP Code:
class="date" required="required" 

When changed to this:

PHP Code:
class="date" alt="'.$_SESSION['DefaultDateFormat'].'" required="required" 

Fixes the issue?

Please bear in mind I am still using version 4.14.1...


RE: Unknown Date Format - TurboPT - 06-20-2018

Yeah, new handling (in 4.15) eliminates the date-in-the-alt attribute need.

Before 4.15, that change is necessary for the date picker to work properly.


RE: Unknown Date Format - VortecCPI - 06-20-2018

Thank you Paul!


RE: Unknown Date Format - TimSchofield - 06-20-2018

Ah sorry Paul, my bad I checked the script was fine against the current code not the last release.

Tim