baijianpeng VIP
Total posts: 239
15 Июнь 2015 11:13

On the backend configuration page of Emerald 9, there is a drop-down list of date format:

emerald-english

But I can not find the date format I want in that list.

How can I customize the date format? For example, just let me input %Y-%m-%d or any other PHP language date function string?

Thank you.

Последние изменения: 17 Июнь 2015

Метки Emerald 10


Sergey
Total posts: 13,748
16 Июнь 2015 04:52

Just tell me what format you need and I'll add it.


baijianpeng VIP
Total posts: 239
16 Июнь 2015 23:22

For example, 2015-06-23 (YYYY-mm-dd).

sometimes, we want to show the words "year" and "month" and "day" in the date string, like :

2015年6月23日

(those Chinese characters are for "year" and "month" and "day")

If I can input the date format myself, it is very easy to do this:

%Y年%m月%d日

But Emerald does not allow direct input of date format. So please create one.

Or, maybe you can put the date format string into language file, just like the date format string in Joomla core languag file.

Thank you.


pepperstreet VIP
Total posts: 3,837
17 Июнь 2015 01:19

baijianpeng allow direct input of date format ... Or, maybe you can put the date format string into language file ...

+1


Sergey
Total posts: 13,748
17 Июнь 2015 06:00

I added it to the list.

Работает на Cobalt