|
Ran
|
Jobs
1
|
Files
479
|
Run time
1min
|
Badge
README BADGES
|
push
github
datetime: support timestamp field in :totable() `datetime` module has a function `:totable()` that converts the information from a datetime object into the table format. The field `timestamp` can be accessed in a datetime object: ``` tarantool> dt = datetime.new({timestamp=100}) --- ... tarantool> dt.timestamp --- - 100 ... ``` However, the timestamp is missed in a table produced by `:totable()` method. The patch fixes that. Fixes #10374 @TarantoolBot document Title: Support of timestamp field in :totable() The field `timestamp` is available in a table produced by `:totable`: ``` tarantool> datetime.new({timestamp=100}):totable() --- - timestamp: 100 tz: sec: 40 min: 1 yday: 1 day: 1 nsec: 0 isdst: false wday: 5 tzoffset: 0 month: 1 year: 1970 hour: 0 ... tarantool> ``` (cherry picked from commit f66020b67)
62941 of 114088 branches covered (55.17%)
93778 of 109145 relevant lines covered (85.92%)
2607359.62 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 10400973048.1 | 0 |
85.92 |
GitHub Action Run |