Update types of values passed to `datetime.new()`
Open
Nobody has claimed this yet.
datetime
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
datetime.new() can accept only integer values for year,
month, day, hour, min, sec, usec, msec and nsec.
The type of tzoffset can be integer or string, timestamp can
be integer or double.
Requested by @ligurio in https://github.com/tarantool/tarantool/commit/cc9010a2b11477b2f16f2b2e168a6b9dcca2fb20.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the documentation entry for datetime.new() and compare its parameter type descriptions with the issue. Update the listed types for the date and time fields, tzoffset, and timestamp; done when the documentation matches all requested types.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100