DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:nextday

nextday Plugin

Compatible with DokuWiki

  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown

plugin Display the date of the closest $WEEKDAY

Last updated on
2018-05-31
Provides
Syntax
Repository
Source

Tagged with date, include

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

~~NEXTDAY:tue~~

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:

~~NEXTDAY:first tue~~

will render as “3 May 2011”

~~NEXTDAY:last tue~~

will render as “26 April 2011”

Change Log

  • 2011-04-08
    • initial release
  • 2011-11-08
    • fix typos

Discussion

A plugin doesn't have multi language support :-( — Aleksandr 2011/04/08 21:48

just fork it and send pull request
plugin/nextday.txt · Last modified: 2020-02-23 20:42 by Aleksandr

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