Skip to content

When connecting to ZNC show_server_time=on shows a different timestamp in client vs in logs #1318

@ffrogman

Description

@ffrogman

On version Irssi v1.3-dev-488-g58c9aecf

When reconnecting to a ZNC server with /set show_server_time on the buffer messages have incorrect timestamps in the logs, but correct timestamps in the client.

The timestamp accurately matches the time the message was received in the client. It incorrectly displays the time you connected to znc in the logs. Irssi should display the correct timestamp in both the client and the logs.

To reproduce

  1. Set up irssi with /set show_server_time on and save the configuration
  2. Disconnect irssi from znc server
  3. Using a second client send a message to the disconnected account.
  4. Wait a minute or two (just long enough to prove the timestamp is wrong)
  5. launch irssi and reconnect to znc-server.
  6. Look at the timestamp of the message from step 3 in the client. Timestamp is correct (the time you received the message)
  7. Look at the timestamp of the message from step 3 in the logs. Timestamp is incorrect (the time you connected to znc)
  8. All other messages received during the downtime will have the exact same incorrect timestamp in the log, but correct timestamps in the client

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions