Changeset 240 in code for trunk/upstream.go


Ignore:
Timestamp:
Apr 6, 2020, 8:05:49 PM (5 years ago)
Author:
contact
Message:

Fix server-time tags timezone

We need to use UTC time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r239 r240  
    236236
    237237        if _, ok := msg.Tags["time"]; !ok {
    238                 msg.Tags["time"] = irc.TagValue(time.Now().Format(serverTimeLayout))
     238                msg.Tags["time"] = irc.TagValue(time.Now().UTC().Format(serverTimeLayout))
    239239        }
    240240
Note: See TracChangeset for help on using the changeset viewer.