Difference between revisions of "Template:IRC text"

From Free Software Directory
Jump to: navigation, search
(<includeonly>)
(Client-side: https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##timel)
Line 60: Line 60:
 
** <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]]
 
** <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
 
* Manual Timezone - MediaWiki - https://www.mediawiki.org/wiki/Manual:Timezone
* Help Extension ParserFunctions - MediaWiki, #time - https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##time
+
* 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
 
* Help Time function - Wikipedia - https://en.wikipedia.org/wiki/Help:Time_function
 
* https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions_-_time:_timezones
 
* https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions_-_time:_timezones

Revision as of 14:51, 12 December 2022

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.