Jump to content

Strange date format

Recommended Posts


Since I reinstalled to 6.4.9 my dates have a strange format

orders have dates like  %23 %b %2023, %09:%Feb

in settings advanced the format is  %d %b %Y, %H:%M

my maintence page says 

Upgrade History
CubeCart Version    Date
6.4.5    %22 %b %2022, %00:%Jun
6.4.4    %20 %b %2022, %20:%Mar

it also tells me

WARNING: Your store is not up-to-date. Version 6.4.10 is available but you are running 6.4.9.

The last time I tried upgrade the system froze and i had to reinstall.

any help much appreciated.






Link to comment
Share on other sites

The most recent versions of CubeCart uses PHP's date() function, whereas earlier versions used PHP's strftime() function - which is deprecated and will be removed from a future version of PHP.

The date() function uses straight characters while the strftime() function uses percent-characters.

In admin, Store Settings, Advanced tab, use the following for the date formats:

Fuzzy Time Format= H:i
Date & Time Format= d M Y, H:i 
Dispatch Date Format= M d Y


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...