Calculate the start and end dates for the New Year show
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
<p>
|
<p>
|
||||||
<em>If you keep talking, we'll keep recording.</em>
|
<em>If you keep talking, we'll keep recording.</em>
|
||||||
</p>
|
</p>
|
||||||
<p>For those who don't know, on New Year's Eve 2025-12-31 10:00 UTC (5:00 AM EST), we will have a recording going on the HPR Mumble server for anyone to come on and say "Happy New Year" and talk about whatever they want.
|
<p>For those who don't know, on New Year's Eve <!--% get_new_year_show_start() %-->, we will have a recording going on the HPR Mumble server for anyone to come on and say "Happy New Year" and talk about whatever they want.
|
||||||
We will leave the recording going until at least 2026-01-01 12:00 UTC (7:00 AM EST), and keep recording until the conversation stops.</p>
|
We will leave the recording going until at least <!--% get_new_year_show_end() %-->, and keep recording until the conversation stops.</p>
|
||||||
<p>
|
<p>
|
||||||
So please stop in. Say "Hi" and maybe join in the conversation with other HPR listeners and contributors. It's always a good time!!<br>
|
So please stop in. Say "Hi" and maybe join in the conversation with other HPR listeners and contributors. It's always a good time!!<br>
|
||||||
<audio controls preload="none">
|
<audio controls preload="none">
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
<p>
|
<p>
|
||||||
<em>If you keep talking, we'll keep recording.</em>
|
<em>If you keep talking, we'll keep recording.</em>
|
||||||
</p>
|
</p>
|
||||||
<p>For those who don't know, on New Years Eve 2025-12-31 10:00 UTC (5:00 AM EST), we will have a recording going on the HPR Mumble server for anyone to come on and say "Happy New Years" and talk about whatever they want.
|
<p>For those who don't know, on New Years Eve <!--% get_new_year_show_start() %-->, we will have a recording going on the HPR Mumble server for anyone to come on and say "Happy New Years" and talk about whatever they want.
|
||||||
We will leave the recording going until at least 2026-01-01 12:00 UTC (7:00 AM EST), and keep recording until the conversation stops.</p>
|
We will leave the recording going until at least <!--% get_new_year_show_end() %-->, and keep recording until the conversation stops.</p>
|
||||||
<p>
|
<p>
|
||||||
So please stop in. Say "Hi" and maybe join in the conversation with other HPR listeners and contributors. It's always a good time!!<br />
|
So please stop in. Say "Hi" and maybe join in the conversation with other HPR listeners and contributors. It's always a good time!!<br />
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -134,3 +134,20 @@
|
|||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
<span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.latest) %-->/index.html" rel="last" aria-label="latest episode">Latest<span class="no-css"> >></span><!--% INSERT $arrow_last %--></a></span></nav>
|
<span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.latest) %-->/index.html" rel="last" aria-label="latest episode">Latest<span class="no-css"> >></span><!--% INSERT $arrow_last %--></a></span></nav>
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
|
||||||
|
<!--% MACRO get_new_year_show_start BLOCK %-->
|
||||||
|
<!--% start_year = date.format(date.now, '%Y') %-->
|
||||||
|
<!--% IF date.format(date.now, '%m') != 12 || date.format(date.now, '%j') == 1 %-->
|
||||||
|
<!--% start_year = start_year - 1 %-->
|
||||||
|
<!--% END %-->
|
||||||
|
<time datetime="<!--% start_year %-->-12-31T10:00Z"><!--% start_year %-->-12-31 10:00 UTC (5:00 AM EST)</time>
|
||||||
|
<!--% END %-->
|
||||||
|
|
||||||
|
<!--% MACRO get_new_year_show_end BLOCK %-->
|
||||||
|
<!--% end_year = date.format(date.now, '%Y') %-->
|
||||||
|
<!--% IF date.format(date.now, '%m') == 12 || date.format(date.now, '%j') == 1 %-->
|
||||||
|
<!--% end_year = end_year + 1 %-->
|
||||||
|
<!--% END %-->
|
||||||
|
<time datetime="<!--% end_year %-->-01-01T12:00Z"><!--% end_year %-->-01-01 12:00 UTC (7:00 AM EST)</time>
|
||||||
|
<!--% END %-->
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user