tips and tricks for movable type

AM to a.m.
September 17, 2002

Brad Choate explained in the forum how to use his Regex plugin to change your date display from AM to a.m.

Make sure you're using the latest version of Regex - hey, it might not matter in this case, but why not download the latest anyhow? Brad's up to version 1.52 as of this posting.

Change your <MTEntryDate> tag to look like this:

<MTEntryDate format="%l:%M %p" lower_case="1" regex="s/(.)(.)\Z/$1.$2./">

Related Links:

MT Manual on Plugins
• Original post on the MT support forum

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

TrackBack: 0
(URL: http://www.thegirliematters.com/sf/mt-track.cgi/80)