+ Reply to Thread
Results 1 to 2 of 2

Thread: [Esoteric Bug] Downtime RSS feed is labeled with the wrong time zone

  1. #1
    Ascendant forbiddenlake's Avatar
    Join Date
    Jun 2013
    Posts
    5,761

    Default [Esoteric Bug] Downtime RSS feed is labeled with the wrong time zone

    Tiny bug. This is incorrect and messes up my automated display of planned downtime.

    The RSS feed for downtime has the wrong time zone. Here is the contents of the EU feed now, http://rss.trionworlds.com/live/main...rift-eu-en.rss (this link will 404 when there is no planned downtime)

    Code:
    $ curl http://rss.trionworlds.com/live/maintenance/rift-eu-en.rss
    <rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
      <channel>
        <title>Trion Maintenance Announcements</title>
        <link>http://trionworlds.com</link>
        <description>Trion Maintenance Announcements</description>
        <language>en</language>
        <item>
          <title>Downtime - 3hr ETA</title>
          <link>http://forums.riftgame.com/general-discussions/shard-status/502876-eu-emergency-downtime-6-00-pm-pdt-1-00-am-utc.html</link>
          <pubDate>15 Mar 2018 20:00 CST</pubDate>
        </item>
      </channel>
    "CST" in "15 Mar 2018 20:00 CST" should be "CDT" for a few months. It's 20:00 CDT right now.

    Code:
    ~# TZ="CST6CDT" date
    Thu Mar 15 20:06:39 CDT 2018
    ~# TZ="America/Chicago" date
    Thu Mar 15 20:07:03 CDT 2018
    ~# TZ=UTC date
    Fri Mar 16 01:07:49 UTC 2018
    Last edited by forbiddenlake; 03-15-2018 at 05:53 PM.

  2. #2
    Ascendant forbiddenlake's Avatar
    Join Date
    Jun 2013
    Posts
    5,761

    Default

    This changed!! But the NA one is not quite right

    Code:
          <pubDate>21 Mar 2018 06:00 PST</pubDate>
    (I can't post the full RSS result - the forum rejects it entirely)
    Servers went down 15 minutes ago, 6 AM P*D*T, not PST as labeled above

    Code:
    $ TZ="America/Los_Angeles" date
    Wed Mar 21 06:08:37 PDT 2018
    $ TZ="PST8PDT" date
    Wed Mar 21 06:08:54 PDT 2018
    $ TZ=UTC date
    Wed Mar 21 13:11:02 UTC 2018

    The EU one is labeled UTC which should work

    Edit - the 1:00 PM GMT/UTC on March 22, 2018 announcement is back in CST
    Last edited by forbiddenlake; 03-21-2018 at 06:38 PM.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts