Description
This very tiny mod adds a customizable timestamp (defaulted to [HH:MM:SS] format) to every chat window there is.
Unlike some other addons for timestamps (just like Prat plugin for instance), this works perfectly with every Combat Log window aswell.
Commands
/cts format <timeformat> - sets timestamp format
/cts status - displays settings
Format Examples
Assuming time is 14:50:21
%H:%M:%S - Prints out "14:50:21"
%I:%M:%S %p - Prints out "02:50:21 pm"
More infos about time formats can be found here.
Note: Since version 1.5, two custom types have been added, #H and #I which replace %H and %I. Both of them are case sensitive and provide an easy way to have non padded hours (07 will become 7 and so on).
Color Codes
As of patch 1.4 you can now use color codes too. The format is the following:
|cAARRGGBB-text here-|r
AA = Alpha, RR = Red, GG = Green, BB = Blue
So, for example, if you want a standard 24h red timestamp, you would use |cFFFF0000[%H:%M:%s]|r as your format.