Setting time format preference in unix (Mac-Terminal) I'm learning to work in unix using Terminal on a Mac and I'd like to set the default listing for the timestamp to display in 12 hour time, using AM and PM, instead of 24 hour time (ie: 1:00 PM, not 13:00). I'm somewhat familiar with setting preferences, so to speak, using the ~/.bashrc file, where I've set a couple of aliases, including one with the options for my preferred ls display. I've looked at the man pages and elsewhere online, but I haven't had any luck finding what I'm looking for time-wise though. Any suggestions would be appreciated.
Using GNU ls, on Linux, there is a --time-style flag you can use to specify one of a few pre-defined time types, or specifying a completely custom +FORMAT style like the date command accepts. However, BSD ls, which Apple ships, does not support this flag.

I've seen similar discrepancies in commands like date and tar as well, all rooted in the differences between the GNU and BSD variants.