[commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: expose getTimeZone (51caf03)

git at git.haskell.org git at git.haskell.org
Fri Apr 21 16:43:54 UTC 2017


Repository : ssh://git@git.haskell.org/time

On branches: format-widths,ghc,improve-leapseconds,master,posix-perf,tasty,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/51caf0365ac20cfb829cedb18364e6891186325e

>---------------------------------------------------------------

commit 51caf0365ac20cfb829cedb18364e6891186325e
Author: ashley <ashley at semantic.org>
Date:   Wed Apr 27 23:03:04 2005 -0700

    expose getTimeZone
    
    darcs-hash:20050428060304-ca2d0-462560f690d4a8d591fc61dcf9eacdf91618b663


>---------------------------------------------------------------

51caf0365ac20cfb829cedb18364e6891186325e
 System/Time/Calendar.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/System/Time/Calendar.hs b/System/Time/Calendar.hs
index 97c6bac..828a664 100644
--- a/System/Time/Calendar.hs
+++ b/System/Time/Calendar.hs
@@ -6,7 +6,7 @@ module System.Time.Calendar
 	TimeZone,timezoneToMinutes,minutesToTimezone,hoursToTimezone,utc,
 
 	-- getting the locale time zone
-	getCurrentTimezone,
+	getTimezone,getCurrentTimezone,
 
 	-- Gregorian "calendrical" format
 	TimeOfDay(..),CalendarDay(..),CalendarTime(..),



More information about the ghc-commits mailing list