Hi,

It looks like the submitted by area is controlled in the template.php file as:

function plasma_preprocess_node(&$variables) {
$variables['submitted'] = t('By !username on !datetime', array('!username' => $variables['name'], '!datetime' => $variables['date']));
if ($variables['view_mode'] == 'full' && node_is_page($variables['node'])) {
$variables['classes_array'][] = 'node-full';
}
}

I was wondering if anyone could show me how to modify this to show the time in a 12 hour format vs. the current 24 hour format?

Thank you, in advance, for any assistance.

Comments

ravis’s picture

Assigned: Unassigned » ravis
Status: Active » Closed (fixed)

you can control / change date and time format from:
Administration » Configuration » Regional and language
(admin/config/regional/date-time)

play4quarters’s picture

Thank you.

I'm sure I'm probably missing something.

I'm do have the time-zone set up the way I'd like for the site, but I'm not seeing where to apply a default format setting for the date/time of the site?

Any advice, is greatly appreciated, and thank you for the response.

ravis’s picture

I guess Medium or Long time format is used to display in posts submit details.
Try changing format of these two.

play4quarters’s picture

Beautiful!

Sorry it just wasn't clicking for me, but that was the clue that helped me out.

Just changed the format for those and I'm rockin'.

Thanks so much!