Difference between revisions of "Template:IRC text"

From Free Software Directory
Jump to: navigation, search
m (-invalid self-closed HTML tags.)
(+new template with interactive text, less verbose contents, support for small screens and UTC conversion.)
Line 1: Line 1:
<div style="background-color: {{{background_color|#fbfcff}}}; border: {{#ifeq: {{LOCALDAYNAME}} | {{{day_name|0}}} | {{#ifexpr: {{{start_hour_time|-1}}} != -1 and {{LOCALHOUR}} >= {{{start_hour_time|0}}} and {{LOCALHOUR}} < {{{end_hour_time|0}}} | green | black}} }} 2px solid; padding: 10px;"><strong style="font-size: 150%;">{{{day_name}}} IRC Meeting</strong><br>
+
<div style="background-color: {{{background_color|#fbfcff}}}; box-shadow: 0.2em 0.1em rgba(0, 0, 0, 0.3); border: {{#ifeq: {{LOCALDAYNAME}} | {{{day_name|0}}} | {{#ifexpr: {{{start_hour_time|-1}}} != -1 and {{LOCALHOUR}} >= {{{start_hour_time|0}}} and {{LOCALHOUR}} < {{{end_hour_time|0}}} | green | black}} }} 0.2em solid; padding: 0.5em; border-radius:0em 0em 0.7em 0.7em;">
 +
<h1 style="font-weight:bold; margin-top:0em;">{{{day_name}}} <span style="cursor:help;text-decoration:underline dotted;" title="Internet Relay Chat, use an IRC client or the official Freenode webchat to access the meeting from anywhere in the world, in realtime (text-only).">IRC</span> Meeting</h1>
 
{{#ifeq: {{LOCALDAYNAME}} | {{{day_name|0}}} | {{#ifexpr: {{{start_hour_time|-1}}} != -1 and {{LOCALHOUR}} >= {{{start_hour_time|0}}} and {{LOCALHOUR}} < {{{end_hour_time|0}}} | <div style="font-size: 30px; background_color: green">The meeting is active right now!</div> | }} }}
 
{{#ifeq: {{LOCALDAYNAME}} | {{{day_name|0}}} | {{#ifexpr: {{{start_hour_time|-1}}} != -1 and {{LOCALHOUR}} >= {{{start_hour_time|0}}} and {{LOCALHOUR}} < {{{end_hour_time|0}}} | <div style="font-size: 30px; background_color: green">The meeting is active right now!</div> | }} }}
Join the Free Software Foundation {{{day_name_meeting_frequency}}} {{{day_name}}} {{{start_hour_time}}}:00-{{{end_hour_time}}}:00 {{TZAbbrev}}, in [irc://chat.freenode.net/fsf irc://chat.freenode.net/fsf], for the FSD IRC meetings!
+
<p>
 
+
Join the Free Software Foundation {{{day_name_meeting_frequency}}} {{{day_name}}}
<!--
+
<span style="cursor:help;text-decoration:underline dotted;" title="
The IRC meeting is held 12:00-15:00 EST (on Eastern Standard Time), and 12:00-15:00 EDT (on Eastern Daylight Time). (verified by Donald Robertson 2018-02-02)
+
{{#ifeq: {{TZAbbrev}} | EDT
 
+
| {{#expr:{{{start_hour_time|-4}}}+4}}:00-{{#expr:{{{end_hour_time|-4}}}+4 }}:00 UTC
Time Zone Database:
+
| {{#ifeq: {{TZAbbrev}} | EST
"The name of the zone Boston is in is America/New_York." - Paul G.
+
| {{#expr:{{{start_hour_time|-5}}}+5}}:00-{{#expr:{{{end_hour_time|-5}}}+5 }}:00 UTC
US/Eastern (deprecated) links to America/New_York. - https://www.iana.org/time-zones
+
| Search "{{TZAbbrev}} to UTC" in a web search engine to get UTC time.
 +
}}
 +
}}
 +
">
 +
{{{start_hour_time}}}:00-{{{end_hour_time}}}:00 {{TZAbbrev}}
 +
</span>
 +
, in [irc://chat.freenode.net/fsf Freenode (channel: #fsf )] for the Free Software Directory IRC meetings!
 +
</p>
  
Do not add a DuckDuckGo link like https://duckduckgo.com/lite/?q=12%3A00+{{TZAbbrev}}&t=ffab&ia=answer (non-JS version of DDG), there are other issues to concern:
 
* It requires a Service as a Software Substitute (SasSS)
 
* Donald Robertson (FSF staff): "it gives me time in PST, which is where I am, but not the time I keep"
 
* While it shows the time conversion, it does not show the date. The `date` command which was present gave the full date and time.
 
* It also wouldn't be accurate over Tor.
 
-->
 
 
<p>
 
<p>
 
Our day and time is right now: <span style="font-family:monospace;">{{LOCALDAYNAME}} {{LOCALTIME}} {{TZAbbrev}}</span>.<br>
 
Our day and time is right now: <span style="font-family:monospace;">{{LOCALDAYNAME}} {{LOCALTIME}} {{TZAbbrev}}</span>.<br>
Run this terminal program in a GNU/Linux distro to see the meeting start time in your time zone:<br>
+
Run this terminal program in a GNU/Linux system terminal to see the meeting start time in your time zone:<br>
 
<code style="margin:1em;">date --date='TZ="America/New_York" 12:00 this Fri'</code>
 
<code style="margin:1em;">date --date='TZ="America/New_York" 12:00 this Fri'</code>
 
<p/>
 
<p/>
 
<p>
 
<p>
For more details, check the [https://www.fsf.org/blogs/directory Free Software Directory blog] that shows the meeting topic. The meetings doesn't have specific topics or a FSF staff that host them if the FSF office is closed.
+
Regardless of the [https://www.fsf.org/blogs/directory topic], administrators will verify and approve new software proposed by users, correct existing pages and provide technical assistance publicly in the channel. <em>All users are welcome</em>.
 
</p>
 
</p>
 
</div>
 
</div>

Revision as of 13:47, 21 June 2019

{{{day_name}}} IRC Meeting

Join the Free Software Foundation {{{day_name_meeting_frequency}}} {{{day_name}}} {{{start_hour_time}}}:00-{{{end_hour_time}}}:00 Template:TZAbbrev , in Freenode (channel: #fsf ) for the Free Software Directory IRC meetings!

Our day and time is right now: Thursday 15:03 Template:TZAbbrev.
Run this terminal program in a GNU/Linux system terminal to see the meeting start time in your time zone:
date --date='TZ="America/New_York" 12:00 this Fri'

Regardless of the topic, administrators will verify and approve new software proposed by users, correct existing pages and provide technical assistance publicly in the channel. All users are welcome.



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.