bkessler91 Posted February 13, 2013 Share Posted February 13, 2013 In Admin under orders I am seeing that orders placed in the past 24 hours are showing as Military time. Orders after 24 hours are showing AM PM. (see attachment) Is there a way for all orders be AM PM? Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 13, 2013 Share Posted February 13, 2013 In the file /includes/functions.inc.php, find the formatTime() function. Change: $time = strftime('%H:%M', $seconds); to: $time = strftime('%l:%M %p', $seconds); Note: %l is the lower-case L. Quote Link to comment Share on other sites More sharing options...
bkessler91 Posted February 14, 2013 Author Share Posted February 14, 2013 ta da! Works perfect. Thank you kind sir! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.