mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
The month name parameter was supposed to go to daychange format, not to
timestamp. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@408 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9eb051b3b8
commit
f4b1470539
2 changed files with 4 additions and 4 deletions
|
|
@ -645,7 +645,6 @@ static void newline(WINDOW_REC *window)
|
|||
static char *get_timestamp(TEXT_DEST_REC *dest)
|
||||
{
|
||||
struct tm *tm;
|
||||
char month[10];
|
||||
time_t t;
|
||||
int diff;
|
||||
|
||||
|
|
@ -662,10 +661,9 @@ static char *get_timestamp(TEXT_DEST_REC *dest)
|
|||
}
|
||||
|
||||
tm = localtime(&t);
|
||||
strftime(month, sizeof(month)-1, "%b", tm);
|
||||
return output_format_text(dest, IRCTXT_TIMESTAMP,
|
||||
tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday,
|
||||
tm->tm_hour, tm->tm_min, tm->tm_sec, month);
|
||||
tm->tm_hour, tm->tm_min, tm->tm_sec);
|
||||
}
|
||||
|
||||
static char *get_server_tag(TEXT_DEST_REC *dest)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue