tarantool / tarantool/doc

feedback: Module datetime | Tarantool

Open
#4,465 0 comments 0 reactions 1 assignee View on GitHub

@andreyaksenov is already working on this.

Since Aug 23, 2024.

Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

<…>lean

datetime.parse('input_string'[, {format, tzoffset}])
|Convert an input string with the date and time information into a datetime object.
The input string should be formatted according to one of the following standards:|

ISO 8601
RFC 3339
extended strftime – see description of the f<…>

https://www.tarantool.io/en/doc/latest/reference/reference_lua/datetime/#datetime-parse

Missed description of possible formats supported by datetime.parse().

There was a doc request https://github.com/tarantool/doc/issues/2576, but for unknown reasons information from it was omitted. See also https://github.com/tarantool/doc/issues/2792.

Grammar of tz: https://datatracker.ietf.org/doc/html/rfc3339#section-5.6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.