Closed (works as designed)
Project:
Activity Stream
Version:
6.x-1.0-beta2
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2008 at 10:29 UTC
Updated:
3 Dec 2008 at 21:36 UTC
Activity Stream insists on using a very non-european time standard for showing when things happen, 12hr time. I'd like to have it presented in 24HR format, as my settings in Time and Date are. See attached image for the relevant documentation of my problem.
| Comment | File | Size | Author |
|---|---|---|---|
| activity-stream.png | 190.68 KB | pkej |
Comments
Comment #1
akalsey commentedDrupal doesn't offer a time-only format, so a custom one is required to achieve the default layout. Knowing that bypassing Drupal's settings wasn't ideal, I made sure to make it easy to override the data format.
Add the code below to your template.php and change yourthemename to the name of your actual theme -- use the name of the directory it's in.
Then change the date format to anything you'd like. You can use Drupal's short date format by doing something like this...
Or you can use a time-only 24 hour clock like this...
See http://api.drupal.org/api/function/format_date for details about how to provide different date formats.
Comment #2
pkej commentedThank you, I will try this.