Daniel Hofstetter
937572d557
tests: add license header to integration tests
2025-06-24 14:43:56 +02:00
Maxim
7260b0ae73
test: Integration tests for date parsing
2025-06-20 09:16:48 +00:00
Maxim
92daee09de
chore: Remove empty source file
2025-06-20 15:31:40 +09:00
Patrick Klitzke
f10749eade
Refactor parse_datetime to only expose parse_datetime function
...
Create new file parse_relative_time.rs with the relative time helper function.
Renames from_str to parse_datetime and parse_relative time.
Adds function parse_datetime_at_date.
2023-08-29 09:03:17 +09:00
Sylvestre Ledru
673d5b600e
rename from humantime_to_duration to parse_datetime
2023-06-09 10:16:26 +02:00
Sylvestre Ledru
6ba55a075b
Fix the various warnings
2023-06-03 14:38:30 +02:00
Sylvestre Ledru
b439960eb1
Port the crate to use chrono instead of time
2023-06-03 13:14:00 +02:00
Daniel Hofstetter
1359dc9349
Simplify tests
2023-05-12 09:59:31 +02:00
Sylvestre Ledru
db00d0686f
add a new from_str_at_date(date, string) function ( #2 )
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com >
2023-05-11 17:16:02 +02:00
Sylvestre Ledru
a68f15e034
from_str('Thu Jan 01 12:34:00 2015') should fail
2023-04-24 00:07:34 +02:00
Sylvestre Ledru
306e1e21a9
add a test to check InvalidInput
2023-04-23 22:51:47 +02:00
Sylvestre Ledru
112b7bf86d
improve the coverage
2023-04-23 22:10:56 +02:00
Sylvestre Ledru
1cb9f467c2
add more tests
2023-04-23 20:04:44 +02:00
Sylvestre Ledru
537a72221d
add more tests
2023-04-23 20:02:40 +02:00