Difference between revisions of "Timestamp"

From Mibbit Wiki
Jump to: navigation, search
m
(clean up, added orphan tag)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{orphan|date=December 2009}}
 +
 
Registered users can customize the timestamp column in Prefs>Chat out.
 
Registered users can customize the timestamp column in Prefs>Chat out.
  
Line 7: Line 9:
 
* %% - %
 
* %% - %
 
* %H - Hour, (00-23)
 
* %H - Hour, (00-23)
* %I - Hour, (01-12)
+
* %I - Hour, (01-12) (capital i)
 
* %k - Hour, ( 0-23)
 
* %k - Hour, ( 0-23)
* %l - Hour, ( 1-12)
+
* %l - Hour, ( 1-12) (lowercase L)
 
* %M - Minute, (00-59)
 
* %M - Minute, (00-59)
 
* %p - AM/PM
 
* %p - AM/PM
Line 25: Line 27:
  
 
For example, if you’d just like to have hours, minutes, and seconds, you could set it to “%H:%M.%S”
 
For example, if you’d just like to have hours, minutes, and seconds, you could set it to “%H:%M.%S”
 +
[[Category:How To]][[Category:IRC]][[Category:Widget]]

Latest revision as of 20:01, 27 December 2009


Registered users can customize the timestamp column in Prefs>Chat out.

If the message was received on the current day, then the “Time format” is used. If the messages is from yesterday or before, it’ll use “Date format” (For example if you’re seeing recent chat when you join).

Other than the list below, text and spaces in the timestamp preferences are shown as is.

  •  %% - %
  •  %H - Hour, (00-23)
  •  %I - Hour, (01-12) (capital i)
  •  %k - Hour, ( 0-23)
  •  %l - Hour, ( 1-12) (lowercase L)
  •  %M - Minute, (00-59)
  •  %p - AM/PM
  •  %P - am/pm
  •  %S - Seconds, (00-59)
  •  %Y - Year (4 digit)
  •  %y - Year (2 digit)
  •  %m - Month (01-12)
  •  %b - Month name (Jan-Dec)
  •  %B - Month name (January-December)
  •  %a - Weekday (Mon-Sun)
  •  %A - Weekday (Monday-Sunday)
  •  %d - Day of month (01-31)
  •  %e - Day of month ( 1-31)

For example, if you’d just like to have hours, minutes, and seconds, you could set it to “%H:%M.%S”