If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

New & Updated Have Today's Date - Every Day

RESOLVED FIXED

Status

addons.mozilla.org Graveyard
Administration
RESOLVED FIXED
11 years ago
2 years ago

People

(Reporter: Thomas, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

11 years ago
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.

Comment 1

11 years ago
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

Comment 2

11 years ago
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
Last Resolved: 11 years ago
Resolution: --- → FIXED
Component: Add-ons → Administration
QA Contact: add-ons → administration
(Assignee)

Updated

2 years ago
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.