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

tarantool / tarantool / 26742438102
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/vdbe4
DEFAULT BRANCH: master
Ran 01 Jun 2026 08:16AM UTC
Jobs 1
Files 480
Run time 2min
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

01 Jun 2026 07:56AM UTC coverage: 86.116% (+0.02%) from 86.101%
26742438102

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

(cherry picked from commit 5b51d7c76)

63689 of 115154 branches covered (55.31%)

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

10 existing lines in 7 files now uncovered.

94679 of 109944 relevant lines covered (86.12%)

1890687.45 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
93.86
-0.32% src/box/memtx_space.c
2
86.39
-0.13% src/box/vy_run.c
2
95.18
-0.42% src/lua/fiber.c
1
93.28
0.92% src/box/txn_limbo.c
1
93.33
-0.11% src/lib/core/fiber.c
1
95.24
-1.59% src/lib/small/include/small/quota.h
1
91.45
0.0% src/lib/swim/swim.c
Jobs
ID Job ID Ran Files Coverage
1 26742438102.1 01 Jun 2026 08:16AM UTC 480
86.12
GitHub Action Run
Source Files on build 26742438102
  • Tree
  • List 480
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 85a10e85 on github
  • Prev Build on release/2.11 (#26635092897)
  • Next Build on release/2.11 (#26758501056)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc