Closed
Bug 369672
Opened 17 years ago
Closed 17 years ago
Feed preview doesn't show dates when the timezone is specified as "UTC"
Categories
(Firefox Graveyard :: RSS Discovery and Preview, defect)
Firefox Graveyard
RSS Discovery and Preview
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ventnor.bugzilla, Unassigned)
References
()
Details
Attachments
(2 files, 1 obsolete file)
1.15 KB,
patch
|
Details | Diff | Splinter Review | |
296 bytes,
text/plain
|
Details |
Click on the RSS feed in the URL. You'll notice that no dates are put into the preview, but when you view the source of the feed, dates are in fact given but with the timezone "UTC" rather than "UT" or "GMT". Our javascript Date() is fully capable of handling this so only our regular expression is stopping the date from being displayed. I suspect other feeds use "UTC" as well.
Attachment #254376 -
Flags: review?(sayrer)
Comment 1•17 years ago
|
||
Hi, I'm sorry I let this sit for so long. r=sayrer w/ a unit test added.
Updated•17 years ago
|
Attachment #254376 -
Flags: review?(sayrer) → review+
Reporter | ||
Comment 3•17 years ago
|
||
CVS hates me so I'm just going to post the unit test here. This goes in toolkit/components/feeds/test/xml/rss2/
Reporter | ||
Updated•17 years ago
|
Whiteboard: [checkin needed]
Comment 4•17 years ago
|
||
Checking in src/FeedProcessor.js; /cvsroot/mozilla/toolkit/components/feeds/src/FeedProcessor.js,v <-- FeedProcessor.js new revision: 1.25; previous revision: 1.24 done RCS file: /cvsroot/mozilla/toolkit/components/feeds/test/xml/rss2/feed_pubDate_utc.xml,v done Checking in test/xml/rss2/feed_pubDate_utc.xml; /cvsroot/mozilla/toolkit/components/feeds/test/xml/rss2/feed_pubDate_utc.xml,v <-- feed_pubDate_utc.xml initial revision: 1.1 done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite+
Reporter | ||
Updated•17 years ago
|
Whiteboard: [checkin needed]
Updated•5 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•