Skip to content

Commit

Permalink
Fix typos in Duration functions page (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjnield authored Sep 2, 2024
1 parent 8b054bc commit 7484846
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ RETURN duration::years(300w);

## `duration::from::days`

The `duration::years` function counts how many years fit into a duration.
The `duration::from::days` function counts how many years fit into a duration.

```surql title="API DEFINITION"
duration::from::days(number) -> duration
Expand Down Expand Up @@ -369,7 +369,7 @@ RETURN duration::from::secs(3);

## `duration::from::weeks`

The `duration::from::days` function converts a numeric amount of weeks into a duration that represents weeks.
The `duration::from::weeks` function converts a numeric amount of weeks into a duration that represents weeks.

```surql title="API DEFINITION"
duration::from::weeks(number) -> duration
Expand Down Expand Up @@ -415,4 +415,4 @@ duration::from::millis(98734234).mins();

```bash title="Response"
1645
```
```

0 comments on commit 7484846

Please sign in to comment.