ChatTimeStamps
From WoWWiki
Contents |
ChatTimeStamps Introduction
ChatTimeStamps is an AddOn which allows you to add timestamps to your chatwindow.
Cosmos Options
- Use > as a separator character
- If this option enabled '>' character is inserted between the timestamp and the message
- Delay TimeStamps
- Allows to select interval of jow often the timestamp will be shown. If off they are shown for each message, otherwise they are shown ever selected number of minutes.
- Use a silent delay
- This will hide the timestamp unless the chat window has been completely silent for the specified delay
- Show local date
- if unchecked server time is shown in simple format or in Clock addon format if installed. If checked the local date/time is shown in user specified format. See below for the format codes.
- Select the affected chat windows
- allows you to select which chat windows will have timestamps prepended to the messages.
Slash Commands
There is some limited support for setting the options above when Khaos is not loaded. In this case you can use commands like /script ChatTimeStamps_Data.enabled = ture or /script ChatTimeStamps_Data.format = "%X". The options are enabled, separator, localtime, silence, delay and format. This options are persisted across sessions even when Khaos is disabled.
Keybindings
ChatTimeStamps Toggle
Dependencies
Sea is required dependency and Khaos is optional dependency, that will enable easier configuration if present.
Date/Time format codes
- %a Abbreviated weekday name
- %A Full weekday name
- %b Abbreviated month name
- %B Full month name
- %c Date and time representation appropriate for locale
- %d Day of month as decimal number (01 - 31)
- %H Hour in 24-hour format (00 - 23)
- %I Hour in 12-hour format (01 - 12)
- %j Day of year as decimal number (001 - 366)
- %m Month as decimal number (01 - 12)
- %M Minute as decimal number (00 - 59)
- %p Current locale's A.M./P.M. indicator for 12-hour clock
- %S Second as decimal number (00 - 59)
- %U Week of year as decimal number, with Sunday as first day of week (00 - 53)
- %w Weekday as decimal number (0 - 6; Sunday is 0)
- %W Week of year as decimal number, with Monday as first day of week (00 - 53)
- %x Date representation for current locale
- %X Time representation for current locale
- %y Year without century, as decimal number (00 - 99)
- %Y Year with century, as decimal number
- %% Percent sign
The # flag may prefix any formatting code. In that case, the meaning of the format code is changed as follows.
- %#a, %#A, %#b, %#B, %#p, %#X, %#% # flag is ignored.
- %#c Long date and time representation, appropriate for current locale. For example: "Tuesday, March 14, 1995, 12:41:29".
- %#x Long date representation, appropriate to current locale. For example: "Tuesday, March 14, 1995".
- %#d, %#H, %#I, %#j, %#m, %#M, %#S, %#U, %#w, %#W, %#y, %#Y Remove leading zeros (if any).
Other Notes
If Clock is enabled it uses Clock's format and offset, otherwise server time is used.
