From 33ceaa1b4f1c235402634b8f72541771738a804e Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Thu, 1 Aug 2024 01:38:22 -0300 Subject: [PATCH] further formatting --- src/birl.gleam | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/birl.gleam b/src/birl.gleam index decdb41..2073f6e 100644 --- a/src/birl.gleam +++ b/src/birl.gleam @@ -424,8 +424,7 @@ pub fn parse_time_of_day(value: String) -> Result(#(TimeOfDay, String), Nil) { } use #(time_string, offset_string) <- result.then(case - string.ends_with(time_string, "Z") - || string.ends_with(time_string, "z") + string.ends_with(time_string, "Z") || string.ends_with(time_string, "z") { True -> Ok(#(string.drop_right(value, 1), "+00:00")) False ->