From 8095bc56caa727cd76f2674944d6303926e2cd46 Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Mon, 20 Feb 2023 14:12:14 +0100 Subject: [PATCH] Remove remaining Debug.log --- src/Library/Syncing.elm | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/Library/Syncing.elm b/src/Library/Syncing.elm index 4c9cf8cd..19622e3f 100644 --- a/src/Library/Syncing.elm +++ b/src/Library/Syncing.elm @@ -1,6 +1,5 @@ module Syncing exposing (LocalConfig, RemoteConfig, task) -import DateFormat as Date import Json.Decode as Decode import Json.Encode as Json import Maybe.Extra as Maybe @@ -66,31 +65,10 @@ task initialTask localConfig remoteConfig = |> Task.andThen (\maybeModifiedAt -> let - formatDate = - Date.format - [ Date.monthNameAbbreviated - , Date.text " " - , Date.dayOfMonthSuffix - , Date.text " " - , Date.yearNumber - , Date.text ", " - , Date.hourMilitaryFixed - , Date.text ":" - , Date.minuteFixed - , Date.text ":" - , Date.secondFixed - ] - maybeRemoteModifiedAt = Maybe.andThen (Decode.decodeValue Time.decoder >> Result.toMaybe) maybeModifiedAt - - _ = - Debug.log "remote" (Maybe.map (formatDate Time.utc) maybeRemoteModifiedAt) - - _ = - Debug.log "local" (Maybe.map (formatDate Time.utc) localConfig.localData.modifiedAt) in case ( maybeRemoteModifiedAt, localConfig.localData.modifiedAt ) of ( Just remoteModifiedAt, Just localModifiedAt ) -> -- knotmirror 0.0.1