DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:nextday

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:nextday [2011-04-08 17:25] 213.151.88.252plugin:nextday [2020-02-23 20:42] (current) – compatible with Greebo Aleksandr
Line 6: Line 6:
 email      : stick@gk2.sk email      : stick@gk2.sk
 type       : syntax type       : syntax
-lastupdate : 2011-04-08 +lastupdate : 2018-05-31 
-compatible : anteater+compatible : Greebo, 2011-11-10, Rincewind
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
 tags       : include, date tags       : include, date
-downloadurl: http://github.com//dokuwiki-plugin-nextday/zipball/master + 
-bugtracker : http://github.com//dokuwiki-plugin-nextday/issues +downloadurl: https://github.com/prusnak/dokuwiki-plugin-nextday/zipball/master 
-sourcerepo : http://github.com//dokuwiki-plugin-nextday/+bugtracker : https://github.com/prusnak/dokuwiki-plugin-nextday/issues 
 +sourcerepo : https://github.com/prusnak/dokuwiki-plugin-nextday 
 +donationurl: http://blockchain.info/address/1stickPVSzg4oKsCkv97HdPkriUpS3mzJ
 ---- ----
  
-===== Syntax =====+===== Introduction ===== 
 + 
 +This simple plugin prints the date of the closest $WEEKDAY, where $WEEKDAY is one of the following: {mon, tue, wed, thu, fri, sat, sun}.
  
 <code> <code>
Line 25: Line 29:
 will render as "12 April 2011" will render as "12 April 2011"
  
 +You can use it also to print the closest $WEEKDAY which is also the first, second, third, fourth, fifth or last in the month:
  
 <code> <code>
-~~NEXTDAY:tue:1~~+~~NEXTDAY:first tue~~
 </code> </code>
  
 will render as "3 May 2011" will render as "3 May 2011"
  
 +<code>
 +~~NEXTDAY:last tue~~
 +</code>
 +
 +will render as "26 April 2011"
  
 ===== Change Log ===== ===== Change Log =====
 +
 +{{rss>https://github.com/prusnak/dokuwiki-plugin-nextday/commits/master.atom date}}
  
   * **2011-04-08**   * **2011-04-08**
     *  initial release     *  initial release
 +  * **2011-11-08**
 +    * fix typos
 +
 +===== Discussion =====
 +
 +A plugin doesn't have multi language support %%:-(%% --- [[user>Aleksandr]] //2011/04/08 21:48//
 +> just fork it and send pull request
plugin/nextday.1302276333.txt.gz · Last modified: 2011-04-08 17:25 by 213.151.88.252

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki