Skip to content

Additional date/time functions#118

Merged
attipaci merged 3 commits into
mainfrom
parse-date
Jan 28, 2025
Merged

Additional date/time functions#118
attipaci merged 3 commits into
mainfrom
parse-date

Conversation

@attipaci

@attipaci attipaci commented Jan 26, 2025

Copy link
Copy Markdown
Collaborator
  • Add novas_parse_date() / novas_parse_date_format(), novas_parse_hms() and novas_parse_dms().
  • Add novas_iso_timestamp() / novas_timestamp().
  • Add novas_print_timescale() / novas_timescale_for_string().
  • Modify julian_date() to add parameter range checking.

@attipaci attipaci added the enhancement New feature or request label Jan 26, 2025
@attipaci attipaci added this to the 1.3.0 milestone Jan 26, 2025
@attipaci attipaci self-assigned this Jan 26, 2025
@codecov

codecov Bot commented Jan 26, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.72%. Comparing base (0c17f95) to head (3d8a021).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
+ Coverage   99.70%   99.72%   +0.01%     
==========================================
  Files           8        8              
  Lines        3384     3597     +213     
  Branches      648      698      +50     
==========================================
+ Hits         3374     3587     +213     
  Misses          1        1              
  Partials        9        9              
Flag Coverage Δ
unittests 99.72% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/novas.c 99.57% <100.00%> (+<0.01%) ⬆️
src/super.c 100.00% <100.00%> (ø)
src/timescale.c 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c17f95...3d8a021. Read the comment docs.

@attipaci attipaci force-pushed the parse-date branch 10 times, most recently from ac7ee38 to 07daf36 Compare January 26, 2025 21:50
@attipaci attipaci changed the title Add novas_parse_date() function String date functions Jan 26, 2025
@attipaci attipaci changed the title String date functions String date/time functions Jan 26, 2025
@attipaci attipaci force-pushed the parse-date branch 4 times, most recently from 747805c to d16704b Compare January 27, 2025 09:01
@attipaci attipaci changed the title String date/time functions Additional date/time functions Jan 27, 2025
@attipaci attipaci force-pushed the parse-date branch 9 times, most recently from 2288f55 to 7b9c770 Compare January 27, 2025 11:31
@attipaci attipaci force-pushed the parse-date branch 7 times, most recently from 4490449 to 0340880 Compare January 27, 2025 14:34
@attipaci attipaci force-pushed the main branch 2 times, most recently from bd2a11d to 77b8a7d Compare January 27, 2025 15:08
@attipaci attipaci force-pushed the parse-date branch 8 times, most recently from b6d99a7 to c1ffe10 Compare January 28, 2025 12:47
@attipaci attipaci marked this pull request as ready for review January 28, 2025 12:49
@attipaci attipaci force-pushed the parse-date branch 3 times, most recently from e67492e to 5bf79aa Compare January 28, 2025 17:09
@attipaci attipaci force-pushed the parse-date branch 3 times, most recently from bdd1281 to 8c98009 Compare January 28, 2025 17:29
@attipaci attipaci merged commit 79cf6bb into main Jan 28, 2025
@attipaci attipaci deleted the parse-date branch January 28, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant