Use current date format

Bug #717896 reported by Wilfried Tozan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UD Planet
Undecided
Unassigned

Bug Description

I just wanted to use in the bottom of every feeds the website current time format.
I find and I found a solution. I use it and it's a proposal.
In the file "udplanet_theme.inc", function theme_page_udplanet, just change the component of a variable:

$timestamp = format_date($time, 'custom', variable_get('date_format_long', 'l, F j, Y - H:i'));

You can use it in the next update ^_^

Related branches

Revision history for this message
Michael Lustfield (michaellustfield) wrote :

michael@panther:~$ date +"%l, %F %j, %Y - %H:%i"
10, 2011-03-04 063, 2011 - 10:%i

I actually like this one -> on March 04, 2011 11:28 AM

I can't actually remember what we're using now. All my planet installs are broken because of the migration to D7.

Changed in ubuntu-drupal-planet:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers