/test/TimeZone.hs

http://github.com/takano-akio/time · Haskell · 10 lines · 6 code · 3 blank · 1 comment · 0 complexity · b1b86a42c18f7fad76e06e9b434b572a MD5 · raw file

  1. {-# OPTIONS -Wall -Werror #-}
  2. module Main where
  3. import Data.Time
  4. main :: IO ()
  5. main = do
  6. zone <- getCurrentTimeZone
  7. putStrLn (timeZoneOffsetString zone)