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

tarantool / tarantool / 26525261819
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gerold103/gh-8095-synchro-promote-part5
DEFAULT BRANCH: master
Ran 27 May 2026 04:59PM UTC
Jobs 1
Files 525
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

27 May 2026 04:45PM UTC coverage: 87.651% (-0.02%) from 87.674%
26525261819

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)

70699 of 118964 branches covered (59.43%)

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

48 existing lines in 15 files now uncovered.

106316 of 121295 relevant lines covered (87.65%)

1360135.73 hits per line

Coverage Regressions

Lines Coverage ∆ File
16
90.82
-0.44% src/box/box.cc
9
88.14
-7.63% src/box/vy_regulator.c
7
74.4
-1.69% src/main.cc
2
92.69
-0.09% src/box/vinyl.c
2
93.84
0.44% src/box/xrow_update_field.c
2
81.38
-0.6% src/lib/core/coio.c
2
87.03
-0.29% src/lib/core/say.c
1
95.21
-0.53% src/box/vy_range.c
1
85.99
0.0% src/box/xlog.c
1
87.93
-1.54% src/box/xlog.h
1
98.08
-0.31% src/lib/json/json.c
1
97.56
0.51% src/lib/msgpuck/msgpuck.h
1
96.1
-0.05% src/lib/salad/bps_tree.h
1
22.7
0.04% src/lib/uri/uri_parser.c
1
97.41
-0.86% src/lib/vclock/vclock.c
Jobs
ID Job ID Ran Files Coverage
1 26525261819.1 27 May 2026 04:59PM UTC 525
87.65
GitHub Action Run
Source Files on build 26525261819
  • Tree
  • List 525
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3ce8a977 on github
  • Prev Build on release/3.7 (#26442184774)
  • Next Build on release/3.7 (#26526750515)
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