Kategorien
Allgemein

T(-) Countdown and Caching

This is a test to see how best to implement the T(-) Countdown plugin with a caching service. For this example, we will be using Rocket Loader by Cloudflare.

Countdown using a shortcode with debug set to true:

[tminus id="monkey" t="2020-05-29 13:30:00" debug="true" omitmonths="true" omitweeks="true"/]
Days
5
6
Hours
1
2
Minutes
5
8
Seconds
0
4
Now: 2020-04-03 00:31:55 Europe/Berlin
Target: 2020-05-29 13:30:00 Europe/Berlin
Time to Target: 56 days 12 hours 58 mins. 4 secs.
Time to Target UTC: 56 days 14 hours 58 mins. 4 secs.
Browser Now (JS): loading...
Browser Target (JS): loading...
Timezone Delta: loading...
Rest Now (JS): loading...
Time to Target (Rest): loading...
Time Cached: loading...
Kategorien
Allgemein

T(-) Countdown Test

This is a test to help troubleshoot the issue with wrong hour calculations. The following shortcode should display a countdown that launches on May 29th 2020 13:30 (29-05-2020 13:30:00) using the shortcode block with the following shortcode:
[tminus t="29-05-2020 13:30:00"/]

Months
0
1
Days
2
6
Hours
1
2
Minutes
5
8
Seconds
0
4

This is an example of a countdown that disappears on launch using the following shortcode:
[tminus t="+5 seconds"] [/tminus]
note: the single space wrapped by the shortcode… it’s important.

Months
0
0
Days
0
0
Hours
0
0
Minutes
0
0
Seconds
0
5