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.)
#1
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...
https://www.linkedin.com/in/eclipsepaulbecker
Reply
06-20-2018, 10:22 PM, (This post was last modified: 06-20-2018, 10:25 PM by TurboPT.)
#2
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.
Reply
06-20-2018, 10:35 PM,
#3
RE: Unknown Date Format
Thank you Paul!
https://www.linkedin.com/in/eclipsepaulbecker
Reply
06-20-2018, 10:56 PM,
#4
RE: Unknown Date Format
Ah sorry Paul, my bad I checked the script was fine against the current code not the last release.

Tim
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)