tarantool / tarantool/doc

Datetime `set()` timestamp type check fixed.

Open Beginner friendly
#5,652 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

For backward compatibility
the compat.datetime_setfn_timestamp_type_check option has been
introduced. It's disabled by default for now ('old' behaviour),
which means no type check is performed. The 'new' behaviour
(with type check) is planned to be set as the default in version 4.x.

Required docu page: https://tarantool.io/compat/datetime_setfn_timestamp_type_check

See DATETIME_SETFN_TIMESTAMP_TYPE_CHECK_BRIEF in compat.lua for details.
Requested by @tmr-g in https://github.com/tarantool/tarantool/commit/df461f1a2ed3a068a83901ad98f2436a98da74ca.

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.

Research direction

Start with the DATETIME_SETFN_TIMESTAMP_TYPE_CHECK_BRIEF in compat.lua, then create the required documentation page at compat/datetime_setfn_timestamp_type_check. Document the backward-compatibility option, its disabled-by-default old behavior, the new type-checking behavior, and the planned default change in version 4.x.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.