summaryrefslogtreecommitdiff
path: root/src/fe-common/core/module-formats.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-25 15:41:37 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-25 15:41:37 +0000
commitff16e15389c4ad10a31a8286edc98a5e9761ba43 (patch)
treeede1d144313ac256b17a9b183dc3729c9aa646a3 /src/fe-common/core/module-formats.c
parent7ae96f540dc6ec0def541d97def9585155fc8dce (diff)
downloadirssi-ff16e15389c4ad10a31a8286edc98a5e9761ba43.zip
/FORMAT timestamp and /FORMAT day_changed use now strftime()-style
formats for specifying time. %x is still treated as color format, so you'll need to escape them with another % (%%H:%%S). The $ parameters don't work anymore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2142 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/module-formats.c')
-rw-r--r--src/fe-common/core/module-formats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/module-formats.c b/src/fe-common/core/module-formats.c
index ba6bbbe6..2f6a1d30 100644
--- a/src/fe-common/core/module-formats.c
+++ b/src/fe-common/core/module-formats.c
@@ -29,9 +29,9 @@ FORMAT_REC fecommon_core_formats[] = {
{ "line_start", "{line_start}", 0 },
{ "line_start_irssi", "{line_start}{hilight Irssi:} ", 0 },
- { "timestamp", "{timestamp $Z} ", 6, { 1, 1, 1, 1, 1, 1 } },
+ { "timestamp", "{timestamp $Z} ", 0 },
{ "servertag", "[$0] ", 1, { 0 } },
- { "daychange", "Day changed to $[-2.0]{0} $3 $2", 4, { 1, 1, 1, 0 } },
+ { "daychange", "Day changed to %%d %%b %%Y", 0 },
{ "talking_with", "You are now talking with {nick $0}", 1, { 0 } },
{ "refnum_too_low", "Window number must be greater than 1", 0 },
{ "error_server_sticky", "Window's server is sticky and it cannot be changed without -unsticky option", 0 },