summaryrefslogtreecommitdiff
path: root/LocationLog.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-12 18:31:02 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-12 18:31:02 -0400
commit476f66abb99ad2baa18b699c26ac9ee7250eca76 (patch)
treea9d78bedb3f8118270acebf4f0b544b1ab39711b /LocationLog.hs
parent3b89924f53cd88c0b5c21767dfd03b65d9d32f09 (diff)
now that a uuid is used, don't need to rejoin
Diffstat (limited to 'LocationLog.hs')
-rw-r--r--LocationLog.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LocationLog.hs b/LocationLog.hs
index d3dd07a4e..da702d650 100644
--- a/LocationLog.hs
+++ b/LocationLog.hs
@@ -70,7 +70,7 @@ instance Read LogLine where
w = words string
date = w !! 0
status = read $ w !! 1
- uuid = unwords $ drop 2 w
+ uuid = w !! 3
pdate = (parseTime defaultTimeLocale "%s%Qs" date) :: Maybe UTCTime
good v = ret $ LogLine (utcTimeToPOSIXSeconds v) status uuid