Skip to content

Commit

Permalink
Fix docs render for date_parse
Browse files Browse the repository at this point in the history
- Temporary fix only to use js:function
- Had to use actual arrow symbol
- Will create sql domain in sphinx as replacement eventually
  • Loading branch information
mosabua committed Dec 4, 2023
1 parent 37aaff0 commit d466971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/sphinx/functions/datetime.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,10 +426,10 @@ SELECT date_format(TIMESTAMP '2022-10-20 05:10:00', '%m-%d-%Y %H');
```
:::

:::{function} date_parse(string, format) -> timestamp(3)
:::{js:function} date_parse(string, format) timestamp(3)
Parses `string` into a timestamp using `format`:

```
```sql
SELECT date_parse('2022/10/20/05', '%Y/%m/%d/%H');
-- 2022-10-20 05:00:00.000
```
Expand Down

0 comments on commit d466971

Please sign in to comment.