- Posts: 4
COMMUNITY FORUM
Date issue
- selcuk
- Topic Author
- Offline
- New Member
Less
More
10 years 5 months ago #55559
by selcuk
Date issue was created by selcuk
Hi all,
I have a feed from Toyota Australia to display in one of our websites.
However the reader doesn't display the correct date and tehre is a refresh/display difference.
eg. One news published on 26 May but on our website listed as 27 May.
Also by the time we captured the image the latest news (published 28 May) wasn't displayed on our side. Nexr dat it appeared as published 29 May.
See doc attached. Top image is from our website, bottom image is from another Toyota website
How can I fix it?
Cheers,
Selcuk
I have a feed from Toyota Australia to display in one of our websites.
However the reader doesn't display the correct date and tehre is a refresh/display difference.
eg. One news published on 26 May but on our website listed as 27 May.
Also by the time we captured the image the latest news (published 28 May) wasn't displayed on our side. Nexr dat it appeared as published 29 May.
See doc attached. Top image is from our website, bottom image is from another Toyota website
How can I fix it?
Cheers,
Selcuk
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 5 months ago #55564
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Date issue
Hi. I don't see any attachments. Regarding the date you should check the actual date that is passed in the XML source of the feed. Regarding the time it takes to update, you need to understand that module is caching the output for some time. You need to take a look at the module settings "Feed Caching Options" . You also might need to take a look at the Joomla! cache settings.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- selcuk
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 5 months ago #55572
by selcuk
Replied by selcuk on topic Date issue
Hi Lefteris,
The system doesn't allow me to attach the file.
It simple displays different output for exact time. Our reader output displays different time and one less (latest) news.
I have checked the XML source and reader did not get the correct time. XML source is www.toyota.com.au/service/widgets/newsarticle/rss/all.rss
First news listed <pubDate>Wed, 28 May 2014 13:00:00 GMT</pubDate>
Actual website : www.toyota.com.au/news/toyota-takes-next-steps-in-hybrid-power
Our website displays same news with date: 29 May 2014 | 00:00 am
Actual website: new.tunedms.com.au/home/rss
Cache time (in minutes) for feed content and remote images has set for 20 minutes.
I don't think it is a cach issue. It seems somehow reader does something weird with the date and it may be the reason for showing the latest news a day later.
Is there a back end setting to set?
Cheers,
Selcuk
The system doesn't allow me to attach the file.
It simple displays different output for exact time. Our reader output displays different time and one less (latest) news.
I have checked the XML source and reader did not get the correct time. XML source is www.toyota.com.au/service/widgets/newsarticle/rss/all.rss
First news listed <pubDate>Wed, 28 May 2014 13:00:00 GMT</pubDate>
Actual website : www.toyota.com.au/news/toyota-takes-next-steps-in-hybrid-power
Our website displays same news with date: 29 May 2014 | 00:00 am
Actual website: new.tunedms.com.au/home/rss
Cache time (in minutes) for feed content and remote images has set for 20 minutes.
I don't think it is a cach issue. It seems somehow reader does something weird with the date and it may be the reason for showing the latest news a day later.
Is there a back end setting to set?
Cheers,
Selcuk
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 5 months ago #55577
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Date issue
Have you changed the format date in module settings. Also take a look at the PHP information page in Joomla! administration. Check what is the current timezone of your server.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- selcuk
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 5 months ago #55587
by selcuk
Replied by selcuk on topic Date issue
Hi Lefteris,
To experiment the difference I use different date format for different feed.
The issue is same for all of them.
They are on the same page but on different tabs
new.tunedms.com.au/home/rss#toyota-global
new.tunedms.com.au/home/rss#toyota-australia
Toyota Australia top news listed as <pubDate>Wed, 28 May 2014 13:00:00 GMT</pubDate> on their source file (www.toyota.com.au/service/widgets/newsarticle/rss/all.rss)
Exact same news listed on our website as 29 May 2014 | 00:00 am
I have also checked joomla date settings, server (Apache) date settings and they are all Ok.
It has set to Sydney time. (+11 currently with Daylight Savings)
Time zone difference may explain why the time and date are different on our website than the sorurce file.
It it doesn't explain late refresh. Could you please give me some tips to fix?
Cheers,
Selcuk
To experiment the difference I use different date format for different feed.
The issue is same for all of them.
They are on the same page but on different tabs
new.tunedms.com.au/home/rss#toyota-global
new.tunedms.com.au/home/rss#toyota-australia
Toyota Australia top news listed as <pubDate>Wed, 28 May 2014 13:00:00 GMT</pubDate> on their source file (www.toyota.com.au/service/widgets/newsarticle/rss/all.rss)
Exact same news listed on our website as 29 May 2014 | 00:00 am
I have also checked joomla date settings, server (Apache) date settings and they are all Ok.
It has set to Sydney time. (+11 currently with Daylight Savings)
Time zone difference may explain why the time and date are different on our website than the sorurce file.
It it doesn't explain late refresh. Could you please give me some tips to fix?
Cheers,
Selcuk
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 5 months ago #55593
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Date issue
It's the server timezone causing this. If you cannot edit the server configuration then try the following code in line 12 of mod_jw_sr_fr.php:
date_default_timezone_set('UTC');
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- selcuk
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 5 months ago #55608
by selcuk
Replied by selcuk on topic Date issue
Efharistó Lefteris
Date issue has been resolved.
Reader doesn't recognise "-" and it translate into "'" like this
Toyota Eyes Sports-Car Racing's Biggest Prize
Any thoughts anout it?
Cheers,
Selcuk
Date issue has been resolved.
Reader doesn't recognise "-" and it translate into "'" like this
Toyota Eyes Sports-Car Racing's Biggest Prize
Any thoughts anout it?
Cheers,
Selcuk
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 5 months ago #55616
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Date issue
Are you talking about the dash or the apostrophe? As i can see it is displayed exactly as in the feed so this is a feed issue www.toyota.com.au/service/widgets/newsarticle/rss/all.rss .
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.