baijianpeng VIP
Total posts: 239
03 Май 2016 08:31

On Emerald frontend dashboard, there shows 10 latest sales. Each sale has a created date/time.

How to change the date format for tihs list?

Последние изменения: 10 Май 2016


Sergey
Total posts: 13,748
05 Май 2016 16:07

It is in components/com_emerald/views/emcpanel/tmpl/default.php line 164. there is no parameter for that.


baijianpeng VIP
Total posts: 239
05 Май 2016 22:31

I think it is not good to hardcode the time format, because we use different time format in our country, for example:

We do NOT show time as: May 6, 2016

But, we use: 2016年5月6日

It is quite different, right? If the date shown in current way, that is very ugly for us.

Then, I need an option to set the time format as "Y年m月d日" according to php date() function.

So I hope you add such an option.

Thank you.


Sergey
Total posts: 13,748
06 Май 2016 08:36

Changed. I use language key DATE_FORMAT_LC3 now.


baijianpeng VIP
Total posts: 239
06 Май 2016 14:16

Great! I can define this language Key in Chinese language files.


Sergey
Total posts: 13,748
10 Май 2016 06:18

Yes or in overrides in Joomla language manager. this is standard Joomla language key.

Работает на Cobalt