Post Reply 
 
Thread Rating:
  • 0 Votes - 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.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
06-20-2018, 10:22 PM (This post was last modified: 06-20-2018 10:25 PM by TurboPT.)
Post: #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.
Find all posts by this user
Quote this message in a reply
06-20-2018, 10:35 PM
Post: #3
RE: Unknown Date Format
Thank you Paul!

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
06-20-2018, 10:56 PM
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)