fixed #10332: Matrix: last updated fields = today

This commit is contained in:
Yung Han Khoe 2009-05-19 11:35:11 +00:00
parent 59329e9718
commit 8fb8ed5c62
3 changed files with 3 additions and 3 deletions

View file

@ -12,6 +12,7 @@
- added --noprompt option to testEnvironment.pl to automatically install modules
- added FilePump, a way to reduce Yslow scores by minimizing JS, CSS and the number of files transferred.
- fixed #10394: CC Purchases Fail When Variants Contain Trailing Zero(s)
- fixed #10332: Matrix: last updated fields = today
7.7.6
- Added mobile style template. If enabled in settings, will serve alternate style templates

View file

@ -204,8 +204,7 @@ sub definition {
},
lastUpdated => {
defaultValue =>time(),
autoGenerate =>0,
noFormPost =>1,
fieldType =>'hidden',
},
);
push(@{$definition}, {

View file

@ -1213,7 +1213,7 @@ sub www_getCompareListData {
label =>$listing->get('title').' '.$listing->get('version'),
formatter =>"formatColors",
url =>$listing->getUrl,
lastUpdated =>$session->datetime->epochToHuman( $listing->get('revisonDate'),"%z" ),
lastUpdated =>$session->datetime->epochToHuman( $listing->get('lastUpdated'),"%z" ),
});
push(@responseFields, $listingId_safe, $listingId_safe."_compareColor");
}