Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Håvard Tveite <havard.tveite@nmbu.no>
  • Loading branch information
2 people authored and nyalldawson committed Jul 21, 2020
1 parent ea6c044 commit fe9e14a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/function_help/json/Form
@@ -1,5 +1,5 @@
{
"name": "Form",
"type": "group",
"description": "This group contains functions that operate exclusively under the attribute form context. For example, in field's widgets settings."
"description": "This group contains functions that are only available in the attribute form context. For example, in field widget settings."
}
2 changes: 1 addition & 1 deletion resources/function_help/json/Processing
@@ -1,5 +1,5 @@
{
"name": "Processing",
"type": "group",
"description": "This group contains functions that operate exclusively under the processing algorithms context."
"description": "This group contains functions that are only available in the processing algorithms context."
}
2 changes: 1 addition & 1 deletion resources/function_help/json/age
Expand Up @@ -2,7 +2,7 @@
"name": "age",
"type": "function",
"groups": ["Date and Time"],
"description": "Returns the difference between two dates or datetimes.<br>The difference is returned as an <code>Interval</code> and needs to be used with one of the following functions in order to extract useful information:<br /><ul><li><code>year</code></li><li><code>month</code></li><li><code>week</code></li><li><code>day</code></li><li><code>hour</code></li><li><code>minute</code></li><li><code>second</code></ul>",
"description": "Returns the difference between two dates or datetimes.<br>The difference is returned as an <code>Interval</code> and needs to be used with one of the following functions in order to extract useful information:<br /><ul><li><code>year</code></li><li><code>month</code></li><li><code>week</code></li><li><code>day</code></li><li><code>hour</code></li><li><code>minute</code></li><li><code>second</code></li></ul>",
"arguments": [ {"arg":"datetime1","description":"a string, date or datetime representing the later date"},
{"arg":"datetime2","description":"a string, date or datetime representing the earlier date"}],
"examples": [ { "expression":"day(age('2012-05-12','2012-05-02'))", "returns":"10"},
Expand Down

0 comments on commit fe9e14a

Please sign in to comment.