Difference between revisions of "Template talk:Participate text"

From Free Software Directory
Jump to: navigation, search
m (David Hedlund moved page Template talk:Contribute text to Template talk:Participate text without leaving a redirect)
(+mark existing code as such)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
==Documentation==
 +
* Use <b>UTC</b> UNIX timestamps and always update all parameters at once. See: [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##time Help:Extension:ParserFunctions##time]; --[[User:David Hedlund|David Hedlund]] ([[User talk:David Hedlund|talk]]) 12:20, 8 November 2016 (EST);<br/>
 +
* Overtime enabled: <code><nowiki>{{#time:G|now UTC}}</nowiki><<b>=</b><nowiki>{{#time:G|next Friday 19:00 UTC}}</nowiki></code>;<br/>
 +
* Overtime disabled: <code><nowiki>{{#time:G|now UTC}}<{{#time:G|next Friday 19:00 UTC}}</nowiki></code>;<br/>
 +
* Detection guard explanation: <code><nowiki>eval( (next Friday 16:00 ts > current ts) && (current ts >= today's 16:00 ts) && (current week day number == next meeting week day number) && (current hour number) < (next Friday 19:00 hour number) ) == 1 ==> 'meeting is active during page load'</nowiki></code>, where <code>ts</code> means <b>UTC</b> UNIX <u>t</u>ime<u>s</u>tamp. --[[User:LorenzoAncora|LorenzoAncora]] ([[User talk:LorenzoAncora|talk]]) 14:20, 17 April 220 (EDT)
 +
 
==TZ==
 
==TZ==
 
I added how to figure out time zones to make it convenient for volunteers to attend to the meetings with confidence. --[[User:David Hedlund|David Hedlund]] ([[User talk:David Hedlund|talk]]) 12:20, 8 November 2016 (EST)
 
I added how to figure out time zones to make it convenient for volunteers to attend to the meetings with confidence. --[[User:David Hedlund|David Hedlund]] ([[User talk:David Hedlund|talk]]) 12:20, 8 November 2016 (EST)

Latest revision as of 09:37, 30 April 2020

Documentation

  • Use UTC UNIX timestamps and always update all parameters at once. See: Help:Extension:ParserFunctions##time; --David Hedlund (talk) 12:20, 8 November 2016 (EST);
  • Overtime enabled: {{#time:G|now UTC}}<={{#time:G|next Friday 19:00 UTC}};
  • Overtime disabled: {{#time:G|now UTC}}<{{#time:G|next Friday 19:00 UTC}};
  • Detection guard explanation: eval( (next Friday 16:00 ts > current ts) && (current ts >= today's 16:00 ts) && (current week day number == next meeting week day number) && (current hour number) < (next Friday 19:00 hour number) ) == 1 ==> 'meeting is active during page load', where ts means UTC UNIX timestamp. --LorenzoAncora (talk) 14:20, 17 April 220 (EDT)

TZ

I added how to figure out time zones to make it convenient for volunteers to attend to the meetings with confidence. --David Hedlund (talk) 12:20, 8 November 2016 (EST)



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.