Kaynağa Gözat

Fix ArtDeco test and add one more case for extraction of timespan

jherve 1 yıl önce
ebeveyn
işleme
38a771d27b

+ 1 - 0
src/LinkedIn/Profile/WorkExperience.purs

@@ -83,6 +83,7 @@ extractContractType = case _ of
 
 extractTimeSpan ∷ UIElement → Maybe TimeSpan
 extractTimeSpan = case _ of
+  UITimeSpan s -> Just s
   UIDotSeparated (UITimeSpan s) _ -> Just s
   _ -> Nothing
 

Dosya farkı çok büyük olduğundan ihmal edildi
+ 2 - 2
test/ArtDecoCard.purs