Difference between revisions of "Template:IRC text"

From Free Software Directory
Jump to: navigation, search
m
(To IRC clients: ([https://libera.chat/guides/sasl#sasl-client-configuration SASL configuration]))
 
(186 intermediate revisions by 5 users not shown)
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 font-size: 150%;">{{{day_name}}} IRC Meeting</strong><br />
+
<div style="background-color: {{#ifeq: {{{meeting_is_active}}} | 1 | #ccffcc | #F8F8F8}};
 +
border-color: #696969;
 +
border-radius:1em;
 +
border-style: solid;
 +
border-width: 3px;
 +
box-shadow: 0.1em 0.1em 0.5em rgba(0,0,0,0.75);
 +
-moz-box-shadow: 0.1em 0.1em 0.5em rgba(0,0,0,0.75);
 +
-webkit-box-shadow: 0.1em 0.1em 0.5em rgba(0,0,0,0.75);
 +
-o-box-shadow: 0.1em 0.1em 0.5em rgba(0,0,0,0.75);
 +
padding: 10px;">
  
{{#ifeq: {{LOCALDAYNAME}} | {{{day_name|0}}} | {{#ifexpr: {{{start_hour_time|-1}}} != -1 and {{LOCALHOUR}} >= {{{start_hour_time|0}}} and {{LOCALHOUR}} < {{{end_hour_time|0}}} | The meeting is active right now! | x }}
+
<h1 style="font-weight:bold; margin-top:0em;">{{#time:l| @{{{meeting_start}}} }} <span style="cursor:help;text-decoration:underline dotted;" title="Internet Relay Chat, use an IRC client or the official Libera webchat to access the meeting from anywhere in the world, in realtime (text-only).">IRC</span> Meeting {{#ifeq: {{{meeting_is_active}}} | 1 | is active right now! | }}</h1>
  
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 [https://www.fsf.org/ Free Software Foundation] (FSF) on <span style="cursor:help;text-decoration:underline dotted;font-family:monospace;font-size:large;" title="{{#ifeq: {{#timel:T}} | EST | {{#time:H:i| {{{meeting_start_time}}} - 5 hours}}-{{#time:H:i| {{{meeting_end_time}}} - 5 hours}} | {{#time:H:i| {{{meeting_start_time}}} - 4 hours}}-{{#time:H:i| {{{meeting_end_time}}} - 4 hours}}}} UTC">{{{meeting_start_day}}} {{{meeting_start_time}}} to {{{meeting_end_time}}} {{#timel:T}}</span> {{#ifeq: {{{meeting_is_active}}} | 1 | &nbsp;(date of the <i>next</i> meeting)}}
 +
</span>
 +
for the Free Software Directory IRC meetings, in the [irc://irc.libera.chat/fsf #fsf Libera.chat] moderated by the FSF staff!
 +
</p>
  
<!--
+
<p>
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)
+
Our day and time is right now: <wbr><span class="currentEST" style="cursor:help;text-decoration:underline dotted;font-family:monospace;font-size:large;" title="{{CURRENTTIME}} UTC">{{LOCALDAYNAME}} {{LOCALTIME}} {{#timel:T}}</span> <span class="staticMeetingCountdown" style="font-family:monospace;">{{#ifeq: {{{meeting_is_active}}} | 1 | <!-- MEETING IS ACTIVE --> |&nbsp;
  
Time Zone Database:
+
{{Template:StaticMeetingCountdown|day_name={{#time:l| @{{{meeting_start}}} }}|start_hour_time={{#time:G| @{{{meeting_start}}} }} }} }}</span><br>
"The name of the zone Boston is in is America/New_York." - Paul G.
+
Run this terminal program in a GNU/Linux system terminal to see the meeting start time in your time zone:<br>
US/Eastern (deprecated) links to America/New_York. - https://www.iana.org/time-zones
+
<code style="margin:1em; background-color: black; color: white;text-rendering: optimizelegibility;-webkit-user-select:none;-moz-user-select:none;user-select:none;">$&nbsp;<span style="-webkit-user-select:all;-moz-user-select:all;user-select:all;">date --date='TZ="{{#timel:e}}" 12:00 this Fri'</span></code>
 +
</p>
 +
<p>
 +
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>
  
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:
+
[https://libera.chat/guides/registration Libera registration] | [https://www.fsf.org/news/fsf-and-gnu-move-official-irc-channels-to-libera-chat-network Why not Freenode?] | [https://directory.fsf.org/wiki?title=Special:Ask&offset=10&limit=500&q=%5B%5BChat%3A%3Airc%5D%5D&p=mainlabel%3D%2Fformat%3Dtemplate%2Flink%3Dnone%2Ftemplate%3DGetlist-2Drow%2Fintrotemplate%3DGetlist-2Dintro%2Foutrotemplate%3DGetlist-2Doutro&po=%3FFull+description%3DDescription%0A%3FHomepage+URL%3DHomepage%0A%3FLicense%0A%3FIs+GNU%23%5B%5BFile%3AHeckert_gnu.tiny.png%5D%5D%2C%0A IRC clients] ([https://libera.chat/guides/sasl#sasl-client-configuration SASL configuration]) | [https://www.gnu.org/server/irc-rules.en.html IRC rules] | [https://www.gnu.org/philosophy/kind-communication.html GNU Kind Communications Guidelines]
* It requires a Service as a Software Substitute (SasSS)
+
</div><noinclude>
* Donald Robertson (FSF staff): "it gives me time in PST, which is where I am, but not the time I keep"
+
==Documentation==
* 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.
+
===Free Software Foundation===
-->
+
 
Our day and time is right now: {{LOCALDAYNAME}} {{LOCALTIME}} {{TZAbbrev}}. Run this terminal program in a GNU/Linux distro to see the meeting start time in your time zone: <code>date --date='TZ="America/New_York" 12:00 this Fri'</code> For more details, check the [https://www.fsf.org/blogs/directory Free Software Directory blog].
+
====Official times for the IRC meetings====
</div>
+
* Free Software Foundation: The IRC meetings are held 12:00-15:00 on both Eastern Standard Time (EST) and Eastern Daylight Time (EDT), unless otherwise noted.
 +
 
 +
====Time zone for the Free Software Foundation office====
 +
{{Template:Permanent time observation in the United States}}
 +
 
 +
* The FSF is located in Boston which is the state capital of Massachusetts. The IANA time zone database identifier for Massachusetts is ''America/New_York''.
 +
 
 +
===Software===
 +
 
 +
====Server-side====
 +
 
 +
=====LocalSettings.php=====
 +
* Manual $wgLocaltimezone - MediaWiki - https://www.mediawiki.org/wiki/Manual:$wgLocaltimezone
 +
** $wgLocaltimezone = "America/New_York";
 +
* Manual $wgLocalTZoffset - MediaWiki - https://www.mediawiki.org/wiki/Manual:$wgLocalTZoffset
 +
 
 +
=====Extensions=====
 +
* https://www.mediawiki.org/wiki/Extension:TimezoneConverter
 +
* https://www.mediawiki.org/wiki/Extension:TimeConvert
 +
 
 +
====Client-side====
 +
* https://www.mediawiki.org/wiki/Help:Magic_words
 +
** <nowiki>{{LOCALDOW}}</nowiki>, <nowiki>{{LOCALHOUR}}</nowiki>, etc: "The following variables do the same as the preceding ones but using the site's server config or $wgLocaltimezone." (see the [[#LocalSettings.php|LocalSettings.php section]]
 +
* Manual Timezone - MediaWiki - https://www.mediawiki.org/wiki/Manual:Timezone
 +
* Help Extension ParserFunctions - MediaWiki
 +
** #time - https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##time
 +
** #timel - https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##timel
 +
*** '''"This function is identical to {{#time: ... }}, when the local parameter is set to true, so it always uses the local time of the wiki (as set in $wgLocaltimezone)."'''
 +
* Help Time function - Wikipedia - https://en.wikipedia.org/wiki/Help:Time_function
 +
* https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions_-_time:_timezones
 +
 
 +
=====Issues=====
 +
* [[Free_Software_Directory:Backlog_active#Templates_to_display_EST_or_EDT]]
 +
* https://directory.fsf.org/wiki/Template:TZAbbrev
 +
 
 +
=====History=====
 +
 
 +
======2022======
 +
From https://directory.fsf.org/wiki?title=Template:Participate_text&oldid=83298
 +
 
 +
<pre>
 +
<nowiki>
 +
{{IRC text
 +
|meeting_UTC_start={{#time:U| Friday 16:00 UTC}}
 +
|meeting_UTC_end={{#time:U| Friday 19:00 UTC}}
 +
|meeting_is_active={{#expr: {{#time:U| Friday 16:00 UTC}}>{{#time:U|now UTC}} and {{#time:U|now UTC}}>={{#time:U|today 16:00 UTC}} and {{#time:N|now UTC}}={{#time:N| Friday 16:00 UTC}} and {{#time:G|now UTC}}<{{#time:G| Friday 19:00 UTC}} }}
 +
}}
 +
</nowiki>
 +
</pre>
 +
 
 +
======2018======
 +
From https://directory.fsf.org/wiki?title=Main_Page&action=edit&oldid=53113
 +
 
 +
<pre>
 +
<nowiki>{{IRC text
 +
|day_name_meeting_frequency=each
 +
|day_name=Friday
 +
|start_hour_time=12
 +
|end_hour_time=15
 +
}}</nowiki>
 +
</pre>
 +
 
 +
From https://directory.fsf.org/wiki?title=Template:IRC_text&oldid=49734
 +
 
 +
<pre>
 +
<nowiki>{{{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}} }}
 +
 
 +
Our day and time is right now: {{LOCALDAYNAME}} {{LOCALTIME}} {{TZAbbrev}}
 +
</nowiki>
 +
</pre>
 +
</noinclude>

Latest revision as of 17:00, 28 January 2023

Error: Invalid time. IRC Meeting

Join the Free Software Foundation (FSF) on <span style="cursor:help;text-decoration:underline dotted;font-family:monospace;font-size:large;" title="Error: Invalid time.-Error: Invalid time. UTC">{{{meeting_start_day}}} {{{meeting_start_time}}} to {{{meeting_end_time}}} EDT for the Free Software Directory IRC meetings, in the #fsf Libera.chat moderated by the FSF staff!

Our day and time is right now: Tuesday 03:34 EDT   Expression error: Unexpected < operator.
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.

Libera registration | Why not Freenode? | IRC clients (SASL configuration) | IRC rules | GNU Kind Communications Guidelines

Documentation

Free Software Foundation

Official times for the IRC meetings

  • Free Software Foundation: The IRC meetings are held 12:00-15:00 on both Eastern Standard Time (EST) and Eastern Daylight Time (EDT), unless otherwise noted.

Time zone for the Free Software Foundation office

Permanent time observation in the United States

Permanent time observation in the United States: State-level legislative actions, see
  • The columns:
    • "Legislation for permanent standard time"
    • "Legislation for permanent DST"
  • For the states-levels of:
    • Massachusetts
    • New York (The FSF is located in Boston which is the state capital of Massachusetts. The IANA time zone database identifier for Massachusetts is America/New_York.)
Time zone in Massachusetts

Massachusetts: "...According to the text of the bill, the new time wouldn’t go into full effect until 2023, with clocks not rolling back after springing ahead for daylight saving time in March of next year. After that March 2023 spring forward, no more time changes would take place in most of the U.S." - https://www.nbcboston.com/news/local/when-does-daylight-saving-time-end-in-massachusetts/2873819/

More reading:

Permanent time observation in the United States

"Senator Marco Rubio, one of the bill's sponsors, said supporters agreed the change would not take place until November 2023 after input from airlines and broadcasters." - https://www.reuters.com/world/us/us-senate-approves-bill-that-would-make-daylight-savings-time-permanent-2023-2022-03-15/

More reading:

  • The FSF is located in Boston which is the state capital of Massachusetts. The IANA time zone database identifier for Massachusetts is America/New_York.

Software

Server-side

LocalSettings.php
Extensions

Client-side

Issues
History
2022

From https://directory.fsf.org/wiki?title=Template:Participate_text&oldid=83298


{{IRC text
 |meeting_UTC_start={{#time:U| Friday 16:00 UTC}}
 |meeting_UTC_end={{#time:U| Friday 19:00 UTC}}
 |meeting_is_active={{#expr: {{#time:U| Friday 16:00 UTC}}>{{#time:U|now UTC}} and {{#time:U|now UTC}}>={{#time:U|today 16:00 UTC}} and {{#time:N|now UTC}}={{#time:N| Friday 16:00 UTC}} and {{#time:G|now UTC}}<{{#time:G| Friday 19:00 UTC}} }}
}}

2018

From https://directory.fsf.org/wiki?title=Main_Page&action=edit&oldid=53113

{{IRC text
 |day_name_meeting_frequency=each
 |day_name=Friday
 |start_hour_time=12
 |end_hour_time=15
}}

From https://directory.fsf.org/wiki?title=Template:IRC_text&oldid=49734

{{{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}} }}

Our day and time is right now: {{LOCALDAYNAME}} {{LOCALTIME}} {{TZAbbrev}}



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.