• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 10400973048
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: release/3.3
DEFAULT BRANCH: master
Ran 15 Aug 2024 08:48AM UTC
Jobs 1
Files 479
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Aug 2024 08:21AM UTC coverage: 85.921% (+0.004%) from 85.917%
10400973048

push

github

Buristan
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

Jobs
ID Job ID Ran Files Coverage
1 10400973048.1 15 Aug 2024 08:48AM UTC 0
85.92
GitHub Action Run
Source Files on build 10400973048
Detailed source file information is not available for this build.
  • Back to Repo
  • 9d7b33bc on github
  • Prev Build on release/2.11 (#10399729784)
  • Next Build on release/2.11 (#10403546907)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc