Skip to content

Commit

Permalink
tmrec: fix typos in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rfuchs committed Jan 25, 2021
1 parent 9bc3e5a commit 8be74b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/tmrec/doc/tmrec_admin.xml
Expand Up @@ -409,10 +409,10 @@ if(is_leap_year("2010"))
<title><function>time_period_match</function> usage</title>
<programlisting format="linespecific">
...
if(time_period_match("wd{2-6} hr{8-16}, wd{1-5} hr{17} min{0-29}"))
if(time_period_match("wd{2-6} hr{8-16}, wd{2-6} hr{17} min{0-29}"))
xdbg("Monday to Friday, 8:00 to 17:30\n");

if(time_period_match("weekday { sat sun }, weekday {mo-fr} hr {17-8},wd{mo-wed}hr{15 16 9}"))
if(time_period_match("wday { sat sun }, wday {mo-fr} hr {17-8},wd{mo-wed}hr{15 16 9}"))
xdbg("We're closed - open only Monday to Wednesday 10:00-15:00, Thursday and Friday 9:00-17:00");
...
</programlisting>
Expand Down

0 comments on commit 8be74b2

Please sign in to comment.