AbanteCart Community

eCommerce construction => Templates => Topic started by: HADY on July 07, 2021, 07:24:10 AM

Title: Time Duplicated
Post by: HADY on July 07, 2021, 07:24:10 AM
Hello,

I noticed that the time Duplicated in many places on admin panel side.

is that default settings or something wrong? how to fix it please??

Thank you for support.
Title: Re: Time Duplicated
Post by: abantecart on July 07, 2021, 08:11:27 AM
What is a version of AbanteCart and PHP?
Title: Re: Time Duplicated
Post by: Basara on July 07, 2021, 08:12:59 AM
Hello. Please check what is your formats value set in the Language definitions  for date
https://abantecart.atlassian.net/wiki/spaces/AD/pages/15466660/Language+Definitions#LanguageDefinitions-Example%3AChangedateformat
Title: Re: Time Duplicated
Post by: abolabo on July 07, 2021, 09:05:31 AM
Hello,

I noticed that the time Duplicated in many places on admin panel side.

is that default settings or something wrong? how to fix it please??

Thank you for support.

admin menu -> system -> Localisation -> Language definitions.
Under column "key" type date_format_short and press enter to search.
In the result see row for admin side (icon "lock").
Value of this language key must do not contains time, only date.
See more details about format here https://www.php.net/manual/en/datetime.format.php
Title: Re: Time Duplicated
Post by: HADY on July 07, 2021, 09:27:34 AM
currently I use Abantecart 1.2.16 and 7.4 php versions. In the attachment a screen of keys.


Title: Re: Time Duplicated
Post by: abolabo on July 07, 2021, 09:50:40 AM
d/m/Y H:i:s A - it's a date with time. Change to d/m/Y !
Title: Re: Time Duplicated
Post by: HADY on July 07, 2021, 10:06:53 AM
ok Sir, I reset it to default as should be.

Thank you guys for time & support