Skip to content

Commit 8a17d85

Browse files
committed
fix(assert): remove unused tz_offset variable
1 parent 5210e36 commit 8a17d85

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/assert_dates.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ function bashunit::date::to_epoch() {
1717
normalized="${normalized/T/ }"
1818
normalized="${normalized%Z}"
1919
# Strip timezone offset (+HHMM or -HHMM) at end for initial parsing
20-
# shellcheck disable=SC2034
21-
local tz_offset=""
2220
case "$normalized" in
2321
*[+-][0-9][0-9][0-9][0-9])
24-
tz_offset="${normalized: -5}"
2522
normalized="${normalized%[+-][0-9][0-9][0-9][0-9]}"
2623
;;
2724
esac

0 commit comments

Comments
 (0)