Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unknown Date Format
06-20-2018, 09:13 PM, (This post was last modified: 06-20-2018, 09:23 PM by VortecCPI.)
Unknown Date Format
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...

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...
06-20-2018, 10:22 PM, (This post was last modified: 06-20-2018, 10:25 PM by TurboPT.)
RE: Unknown Date Format
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.
06-20-2018, 10:35 PM,
RE: Unknown Date Format
Thank you Paul!
06-20-2018, 10:56 PM,
RE: Unknown Date Format
Ah sorry Paul, my bad I checked the script was fine against the current code not the last release.


Forum Jump:

Users browsing this thread: 1 Guest(s)