Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
update.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Jun 2009 at 14:20 UTC
Updated:
16 Jun 2009 at 22:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
tic2000 commentedYou should use
format_date()instead ofdate()Comment #3
stevenpatzUpdated patch to use format_date
Comment #4
tic2000 commented1. In D7 the string concatenation is done with a space before and after the
.. Even before D7 you need to have a space after a,(take a look at the format_date parameters).2. The string inside t() it should not start or end with a space.
3. You should follow the example you already have in the code you change and append the date as the time ago is. This way you will also get rid of the error in your patch that makes a "Last Checked: Last checked: never" message appear when there is no value for $last.
4. One too many new lines.
5. Why do you change REQUEST_TIME to $last?
Comment #6
dwwPlease post your new patch here: #356841: Update status 'last checked time' should output actual date of last check.