feedback: Module datetime | Tarantool
Open
Nobody has claimed this yet.
add details
datetime
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
<…>ber.
day
Day number.month
Month number.year
Year. Number.|wday
Days since the beginning of the week. Number.|yday
Days since the beginning of the year. Number.timestamp
<…>
https://www.tarantool.io/en/doc/latest/reference/reference_lua/datetime/#datetime-totable
wday is in range [0, 6] and it is not clear what week day is encoded by 0.
tarantool> datetime.parse('16-09-2024', {format ='%d-%m-%Y'}).wday
---
- 2
...
tarantool>
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
Open the linked datetime-totable documentation and review the wday field alongside the datetime.parse example in the issue. Confirm which weekday is represented by 0, then update the documented range and meaning so the convention is unambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100