Working on documentation
This commit is contained in:
parent
36fddf8069
commit
9416ba3227
@ -14,20 +14,20 @@ Examples
|
||||
|
||||
show calendar for current date
|
||||
|
||||
{{calendar}}
|
||||
{{calendar}}
|
||||
|
||||
show calendar for Juni in year 2014
|
||||
|
||||
{{calendar(year=2014,month=6)}}
|
||||
{{calendar(year=2014,month=6)}}
|
||||
|
||||
show calendar with week numbers
|
||||
|
||||
{{calendar(show_weeks=true)}}
|
||||
{{calendar(show_weeks=true)}}
|
||||
|
||||
preselect dates and show week numbers
|
||||
|
||||
{{calendar(select=2015-07-12 2015-07-31, show_weeks=true)}}
|
||||
{{calendar(select=2015-07-12 2015-07-31, show_weeks=true)}}
|
||||
|
||||
preselect dates between 2016/3/13 and 2016/3/27
|
||||
|
||||
{{calendar(select=2016-03-13:2016-03-27)}}
|
||||
{{calendar(select=2016-03-13:2016-03-27)}}
|
||||
|
@ -3,12 +3,30 @@ Date macros
|
||||
|
||||
Macro to get current date, year, month, day
|
||||
|
||||
#### Description
|
||||
.. function:: {{current_year}}
|
||||
|
||||
* {{current_year}} := current year
|
||||
* {{current_month}} := current month
|
||||
* {{current_day}} := current day
|
||||
* {{current_hour}} := current hour
|
||||
* {{current_min}} := current minute
|
||||
* {{current_weekday}} := current weekday
|
||||
* {{current_weeknumber}} := current week number (The week starts with Monday)
|
||||
current year
|
||||
|
||||
.. function:: {{current_month}}
|
||||
|
||||
current month
|
||||
|
||||
.. function:: {{current day}}
|
||||
|
||||
current day
|
||||
|
||||
.. function:: {{current hour}}
|
||||
|
||||
current hour
|
||||
|
||||
.. function:: {{current_min}}
|
||||
|
||||
current minute
|
||||
|
||||
.. function:: {{current_weekday}}
|
||||
|
||||
current weekday
|
||||
|
||||
.. function:: {{current_weekday}}
|
||||
|
||||
current week number (week starts with monday)
|
||||
|
Loading…
Reference in New Issue
Block a user