mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #25172
[Bug 1437088] Re: External Feed Block Incorrect Timestamp
Hi Bernard,
The external feed extracts the date from the feed using getDate() in htdocs/lib/pear/XML/Feed/Parser/Type.php
in Mahara, and that in turn uses the strtotime() function in PHP.
Part of the documentation for that function says: "Each parameter of
this function uses the default time zone unless a time zone is specified
in that parameter."
So the things we'll need to know to test this is
1) The URL of the feed used
2) What timezone is your PHP/Database operating in?
Cheers
Robert
** Changed in: mahara
Status: New => Incomplete
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1437088
Title:
External Feed Block Incorrect Timestamp
Status in Mahara ePortfolio:
Incomplete
Bug description:
Version: 15.04rc1
On a new page add an External feed. Timestamp displayed on Mahara does not match timestamp displayed on RSS feed page.
Seems to be incorrect by 13 hours - I can't find a user timezone setting ; I'm in GMT.
Examples:
Timestamp for item 1 should be 27 March 2015 00:03. Mahara displays 27 March 2015, 1:03 PM
Timestamp for item 2 should be 26 March 2015 23:59. Mahara displays 27 March 2015, 12:59 PM
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1437088/+subscriptions
References