I’d probably lean toward manually formatting it. But- a/A are among the date format variables that are processed through the language variables. In other words- you could make a separate language pack for it. The bit you’re interested in is in core_lang.php.
You could copy over that file, just keep the am/pm and edit it.
But that really seems overkill- I’d just format it manually.
Well, you wouldn’t overwrite it, you’d make a new language pack with just the one file.
BUT- when I say manually, I meant:
{event_start_date format="%g:%i"} {if '{event_start_date format="%a"}' == 'am'}a.m.{if:else}p.m.{/if}
Make sense?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.