Skip to content

Latest commit

 

History

History

This script applies to RARBG lists:

  • it converts torrent timestamps to relative format in local timezone. Also, it recalculates them every 1 min.
  • The initial timestamps are still available as tooltips (on mouse hover), also converted to local timezone.

Note: there's a timestamp on the footer of each RARBG page e.g. Sun, 28 Mar 2021 18:26:22 +0200.
Based on that, the script takes that for the server the UTC/UTC DST offsets are +02:00 +02:00 (=no DST),
therefore the timezone in the above case GMT-2.

Examples:

+01:00 +01:00 (=no DST) ---> 'Etc/GMT-1';
+02:00 +02:00 (=no DST) ---> 'Etc/GMT-2';

It uses moment.js and moment-timezone.js.

Screenshot comparison:
Initial:

With the script:

Hosted in GitHub