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

tarantool / tarantool / 26498466936
88%

Build:
DEFAULT BRANCH: master
Ran 27 May 2026 08:09AM UTC
Jobs 1
Files 525
Run time 3min
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

27 May 2026 07:54AM UTC coverage: 87.668% (-0.01%) from 87.678%
26498466936

push

github

Buristan
datetime: fixed parse of time with h.hh or m.mm

- `datetime.c`, `parse_tz_suffix` and its clients refactored
  for better error detection & to simplify code:
  - offset value post-condition check is moved to `parse_tz_suffix`.
  - this check uses tzoffset valid range instead of int16_t min/max.
  - offset arg type of `parse_tz_suffix` fixed
    to valid for TZoffset (int16_t).
- Fixed range checking for tzoffset parsed by `dt_parse_iso_zone_lenient`.
- The better error detection lead to assertion fails of datetime tests
  with decimal fraction of hours and minutes. The fix is the first
  way to solve the problem. (The other way is to comment out the tests.)

Fixes #12082

@TarantoolBot document
Title: Parse of time with hour and minute decimal fraction implemented

Datetime module now supports formats, which are defined
in ISO 8601-1:2019 (5.3.1.4, b-c).

Implementation details:
  - As for decimal fraction of the second (5.3.1.4, a),
    the tail after 9 fraciton digits is truncated.
    `0.123456789999` is the same as `0.123456789`.
  - The hour (format c) or minute (format b) fractions are truncated
    to seconds precision. If somebody want a second fraction,
    they must use explicit representation (format a).

```
datetime.parse('2024-07-31T17,5', {format = 'iso8601'})
---
- 2024-07-31T17:30:00Z

datetime.parse('2024-07-31T17:30.333333333', {format = 'iso8601'})
---
- 2024-07-31T17:30:19Z
```

70729 of 118978 branches covered (59.45%)

16 of 16 new or added lines in 1 file covered. (100.0%)

37 existing lines in 20 files now uncovered.

106343 of 121302 relevant lines covered (87.67%)

1365579.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
93.31
-1.27% src/lib/swim/swim_io.c
4
81.82
-12.12% src/lua/minifio.c
3
89.64
-0.22% src/box/applier.cc
3
97.51
-0.2% src/box/memtx_tx.c
3
92.65
-0.04% src/box/vinyl.c
2
85.79
-0.2% src/box/xlog.c
2
96.3
-3.7% src/lib/core/backtrace.c
2
93.14
-0.2% src/lib/core/fiber.c
2
80.95
-9.52% src/lib/core/tt_sigaction.c
2
95.45
-4.55% src/lib/json/json.h
1
88.96
-0.61% src/box/engine.c
1
96.88
-1.56% src/box/engine.h
1
96.32
-0.18% src/box/relay.cc
1
95.1
-0.1% src/box/replication.cc
1
93.37
-0.19% src/box/txn_limbo.c
1
90.3
-0.08% src/box/vy_log.c
1
81.38
-0.3% src/lib/core/coio.c
1
96.1
-0.05% src/lib/salad/bps_tree.h
1
91.68
-0.11% src/lib/swim/swim.c
1
22.64
-0.02% src/lib/uri/uri_parser.c
Jobs
ID Job ID Ran Files Coverage
1 26498466936.1 27 May 2026 08:09AM UTC 525
87.67
GitHub Action Run
Source Files on build 26498466936
  • Tree
  • List 525
  • Changed 30
  • Source Changed 0
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 5b51d7c7 on github
  • Prev Build on master (#26443617325)
  • Next Build on master (#26635084867)
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