Different time zones / time definitions

momper - June 24, 2009 - 13:01
Project:FeedAPI
Version:6.x-1.x-dev
Component:Code feedapi (core module)
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

hello

our website time is for example 14:46 +0200

one feed (A):

<item>
  <title>xxx</title>
  <pubDate>Mi, 24 Jun 2009 13:41:43 CEST</pubDate>
</item>

another feed (B):

<entry>
  <author><name>xxx</name></author>
  <published>2009-06-24T09:47:40Z</published>
<entry>

so we have different formats for the definition of time in the feeds ...
in the source page of feed B the printed time is 11:47:40 (so it is also +0200)
on our website the printed time is also 11:47:40 - so everything is fine ...

but on our website the time of feed A is printed as 15:41:43 - so it's in the future + the items in a view are always on top - that's not ideal :)
is there a solution to handle this? or what's the reason?

thanks momper

#1

momper - June 27, 2009 - 12:33

does somebody has an idea?

#2

momper - July 3, 2009 - 16:43

added one line to simplepie.inc

'MAWT' => 21600,
'MDT' => -21600,
'MESZ' => 7200,
// *** CHANGE 03.07.2009 ****************************************************
'CEST' => 7200,
// *****************************************************************************
'MEZ' => 3600,
'MHT' => 43200,
'MIT' => -34200,
'MNST' => 32400,

greetings momper

#3

momper - July 3, 2009 - 16:43
Status:active» fixed

#4

System Message - July 17, 2009 - 16:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.