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

tarantool / tarantool / 10387654506
88%

Build:
DEFAULT BRANCH: master
Ran 14 Aug 2024 12:47PM UTC
Jobs 1
Files 514
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

14 Aug 2024 12:35PM UTC coverage: 87.174% (-0.01%) from 87.184%
10387654506

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>
```

68219 of 121501 branches covered (56.15%)

100847 of 115685 relevant lines covered (87.17%)

2460336.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10387654506.1 14 Aug 2024 12:47PM UTC 0
87.17
GitHub Action Run
Source Files on build 10387654506
Detailed source file information is not available for this build.
  • Back to Repo
  • f66020b6 on github
  • Prev Build on master (#10385124589)
  • Next Build on master (#10387990551)
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