You've already forked parse_datetime
mirror of
https://github.com/uutils/parse_datetime.git
synced 2026-06-10 16:13:15 -07:00
Merge pull request #73 from cakebaker/ci_use_clippy_all_targets
ci: use `clippy --all-targets`
This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: rustup component add clippy
|
||||
- run: cargo clippy -- -D warnings
|
||||
- run: cargo clippy --all-targets -- -D warnings
|
||||
|
||||
coverage:
|
||||
name: Code Coverage
|
||||
|
||||
+1
-1
@@ -476,7 +476,7 @@ mod tests {
|
||||
#[test]
|
||||
fn test_time_only() {
|
||||
env::set_var("TZ", "UTC");
|
||||
let test_date = Local.with_ymd_and_hms(2024, 03, 03, 0, 0, 0).unwrap();
|
||||
let test_date = Local.with_ymd_and_hms(2024, 3, 3, 0, 0, 0).unwrap();
|
||||
let parsed_time = parse_datetime_at_date(test_date, "9:04:30 PM +0530")
|
||||
.unwrap()
|
||||
.timestamp();
|
||||
|
||||
Reference in New Issue
Block a user