Skip to content

Commit

Permalink
Make example fit to real output
Browse files Browse the repository at this point in the history
  • Loading branch information
rduivenvoorde authored and nyalldawson committed Oct 5, 2020
1 parent 51b650a commit 6420854
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/function_help/json/make_interval
Expand Up @@ -13,7 +13,8 @@
{"arg":"seconds","description":"Number of seconds", "optional": true, "default": "0"}
],
"examples": [
{ "expression":"make_interval(hours:=3)", "returns":"3 hour interval"},
{ "expression":"make_interval(days:=2, hours:=3)", "returns":"2 day, 3 hour interval"}
{ "expression":"make_interval(hours:=3)", "returns":"interval: 3 hours"},
{ "expression":"make_interval(days:=2, hours:=3)", "returns":"interval: 2.125 days"},
{ "expression":"make_interval(minutes:=0.5, seconds:=5)", "returns":"interval: 35 seconds"}
]
}

0 comments on commit 6420854

Please sign in to comment.