By John Wang on Wednesday, 18 October 2017
Posted in Technical Issues
Likes 0
Views 872
Votes 0
Hi:
Easyblog post's date format and easydiscuss post's date format are same on English page, like this
Wednesday, 18 October 2017
But, on Chinese page, easyblog post's date format like this 2017年8月12日, 星期六
easydiscuss post's date format like this 星期二, 17 10月 2017, and this is not what I want, I need the format same like 2017年8月12日, 星期六
+ my discussion post date format
·
Wednesday, 18 October 2017 21:32
·
0 Likes
·
0 Votes
·
0 Comments
·
By default, we allow admin to configure what datetime format from backend here http://take.ms/YWyfO but based on what you reported, it seems like this setting doesn't work for multilingue site.

For now, can you try download my attached file and replace into this following file and see how it goes?

JoomlaFolder/administrator/components/com_easydiscuss/tables/profile.php

Then you need to override these following language constant from your backend > extension > language > override section

DATE_FORMAT_LC1="Y F d, l"
COM_EASYDISCUSS_DATE_DM="d F"
·
Thursday, 19 October 2017 13:19
·
0 Likes
·
0 Votes
·
0 Comments
·
年 =》 YEAR
月 =》 MONTH
日 =》 DAY
·
Thursday, 19 October 2017 16:24
·
0 Likes
·
0 Votes
·
0 Comments
·
The rest of the issue will solve in next release version because it involved quite a lot of files, we will probably release another new version tomorrow.
·
Thursday, 19 October 2017 17:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Great! And the language string issue also should be solved
·
Thursday, 19 October 2017 19:04
·
0 Likes
·
0 Votes
·
0 Comments
·



Hey John,

You mean this right? http://take.ms/vGgMu

This will also be fixed in ES2.1.

·
Thursday, 19 October 2017 19:06
·
0 Likes
·
0 Votes
·
0 Comments
·
I realised last 2 screenshot is referring to Easyblog page, can you try download my attached files and replace into these following template override file, so when you update to next higher version, it will not override your changes.

JoomlaFolder/templates/YourTemplate/html/com_easyblog/blogs/calendar/list.php
JoomlaFolder/templates/YourTemplate/html/com_easyblog/blogs/calendar/calendar.php
JoomlaFolder/templates/YourTemplate/html/com_easyblog/blogs/calendar/default.php
·
Thursday, 19 October 2017 23:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi:
I create a directory /var/www/html/youzixing/templates/bold_socialplus/html/com_easyblog/blogs/calendar, and upload the three attached files into it. But, the date format on Chinese front page is still not right!

/zh/blog/calendar
2017, 10月 not right
2017年10月 right <=> 2017YEAR10MONTH


/zh/blog/calendar/2017/10/calendarView


2017 10月 not right
2017年10月 right <=> 2017YEAR10MONTH


二, 十 17, 2017 not right
2017年10月17日,星期二 right
·
Friday, 20 October 2017 16:15
·
0 Likes
·
0 Votes
·
0 Comments
·
++++
easysocial photo date format

20 10月 2017 not right
2017年10月20日 right <=> 2017YEAR10MONTH10DAY
·
Friday, 20 October 2017 16:55
·
0 Likes
·
0 Votes
·
0 Comments
·
After I update easydiscuss , the discussion post date format becomes normal. except this one
·
Friday, 20 October 2017 21:27
·
0 Likes
·
0 Votes
·
0 Comments
·
I help you updated these following language override from your site backend.


COM_EASYBLOG_CALENDAR_DATE_FORMAT="Y年Fd日"
DATE_FORMAT_LC3="Y年F"
COM_EASYSOCIAL_PHOTOS_DATE_FORMAT="Y年Fd日"
COM_EASYDISCUSS_DATE_DM="Fd日"


Can you download my attached file and replace into this following file location
JoomlaFolder/templates/YourTemplate/html/com_easyblog/blogs/calendar/list.php
JoomlaFolder/templates/YourTemplate/html/com_easyblog/blogs/calendar/default.php
·
Friday, 20 October 2017 22:56
·
0 Likes
·
0 Votes
·
0 Comments
·
The easyblog calendar date title is still not right
·
Saturday, 21 October 2017 09:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Try download my attached file and replace into JoomlaFolder/templates/YourTemplate/html/com_easyblog/blogs/calendar/calendar.php
·
Saturday, 21 October 2017 11:31
·
0 Likes
·
0 Votes
·
0 Comments
·
It still donen'st work well. When I click the ">" or "<" , the date format will change
·
Saturday, 21 October 2017 12:35
·
0 Likes
·
0 Votes
·
0 Comments
·
I have applied a fix in the file /components/com_easyblog/views/calendar/view.ajax.php and clicking on the next. / previous month should render the correct strings.

I have also marked this thread as resolved and lock it to prevent confusions as you are posting multiple different issues on a single ticket.

Please start a separate ticket for each issue that you encounter (for different products at least)
·
Saturday, 21 October 2017 16:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post