feat(editor): Add examples for number & boolean, add new methods (#9358)

This commit is contained in:
Elias Meire
2024-05-13 16:28:27 +02:00
committed by GitHub
parent da6088d0bb
commit 7b45dc313f
7 changed files with 192 additions and 27 deletions

View File

@@ -445,7 +445,7 @@ toDate.doc = {
toDateTime.doc = {
name: 'toDateTime',
description:
'Converts the string to a DateTime. Useful for further transformation. Supported formats for the string are ISO 8601, HTTP, RFC2822, SQL and Unix timestamp in milliseconds. To parse other formats, use <a target="_blank" href=”https://moment.github.io/luxon/api-docs/index.html#datetimefromformat”> <code>DateTime.fromFormat()</code></a>.',
'Converts the string to a <a target="_blank" href="https://moment.github.io/luxon/api-docs/">Luxon</a> DateTime. Useful for further transformation. Supported formats for the string are ISO 8601, HTTP, RFC2822, SQL and Unix timestamp in milliseconds. To parse other formats, use <a target="_blank" href=”https://moment.github.io/luxon/api-docs/index.html#datetimefromformat”> <code>DateTime.fromFormat()</code></a>.',
section: 'cast',
returnType: 'DateTime',
docURL: