Closed Bug 374991 Opened 17 years ago Closed 17 years ago

New & Updated Have Today's Date - Every Day

Categories

(addons.mozilla.org Graveyard :: Administration, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: twistermc, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.2) Gecko/20060405 Firefox/1.5.0.2

When I view the theme page, the New & Updated addons always show today's date.  Example, Bible Fox has been March 20, 2007, March 21, 2007, March 21, 2007 and will continue to match the date every day.  

Reproducible: Always

Steps to Reproduce:
1. Go to https://preview.addons.mozilla.org/en-US/firefox/browse/type:2
2. Look at the date after 'New & Updated'
Actual Results:  
Shows the current date.

Expected Results:  
Should show the date when the theme was approved.
Confirmed. I guess $newAddon['Addon']['datestatuschanged'] is empty in /app/views/addons/browse_categories.thtml, strtotime in PHP4 uses current time as default.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Thanks a bunch: This was fixed in SVN r2843 (verifiable on stage). CakePHP was playing a prank on us here, varying the way its result array looked. :-/
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: Add-ons → Administration
QA Contact: add-ons → administration
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.