[commit: packages/time] master,wip/travis: export isLeapYear in Calendar; new version (eb6d142)

git at git.haskell.org git at git.haskell.org
Sat May 7 06:42:59 UTC 2016


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

On branches: master,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/eb6d142d93f770efa3424ac923fe43c3ffabf0ca

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

commit eb6d142d93f770efa3424ac923fe43c3ffabf0ca
Author: Ashley Yakeley <ashley at semantic.org>
Date:   Sat Mar 18 19:47:59 2006 -0800

    export isLeapYear in Calendar; new version
    
    darcs-hash:20060319034759-ac6dd-c81de3b9819edf8f99dd95e5e34af1871d29fab8


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

eb6d142d93f770efa3424ac923fe43c3ffabf0ca
 time/Data/Time/Calendar/Gregorian.hs | 5 ++++-
 time/time.cabal                      | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/time/Data/Time/Calendar/Gregorian.hs b/time/Data/Time/Calendar/Gregorian.hs
index 9fe381d..2d3546c 100644
--- a/time/Data/Time/Calendar/Gregorian.hs
+++ b/time/Data/Time/Calendar/Gregorian.hs
@@ -9,7 +9,10 @@ module Data.Time.Calendar.Gregorian
 	-- calendrical arithmetic
     -- e.g. "one month after March 31st"
 	addGregorianMonthsClip,addGregorianMonthsRollOver,
-	addGregorianYearsClip,addGregorianYearsRollOver
+	addGregorianYearsClip,addGregorianYearsRollOver,
+
+	-- re-exported from OrdinalDate
+	isLeapYear
 ) where
 
 import Data.Time.Calendar.MonthDay
diff --git a/time/time.cabal b/time/time.cabal
index c682d8c..c0f0fe5 100644
--- a/time/time.cabal
+++ b/time/time.cabal
@@ -1,5 +1,5 @@
 Name:		time
-Version:	0.3
+Version:	0.3.1
 Stability:	Beta
 License:	BSD3
 License-File:	LICENSE



More information about the ghc-commits mailing list