packages/time.git
10 years agofix warnings; fix tests; remove GHC cruft; bump to 1.1.2.3
Ashley Yakeley [Sun, 4 Jan 2009 22:37:28 +0000 (14:37 -0800)] 
fix warnings; fix tests; remove GHC cruft; bump to 1.1.2.3

darcs-hash:20090104223728-ac6dd-4019748e20d222ef709e509c98869e59c238b2aa

11 years agoImprove meta-data
Don Stewart [Sat, 11 Oct 2008 22:04:12 +0000 (15:04 -0700)] 
Improve meta-data

darcs-hash:20081011220412-cba2c-18eac614e5ee4b1c7cc34abf7c6a91d3a28166c0

11 years agoBump version number to 1.1.2.2
Duncan Coutts [Sat, 11 Oct 2008 03:48:01 +0000 (20:48 -0700)] 
Bump version number to 1.1.2.2

Only warning and doc changes since the last release

darcs-hash:20081011034801-adfee-f2cb7e23c6e6f767ee8b80bfa30c5fd78fefd7ab

11 years agoAdd x-follows-version-policy tag
Duncan Coutts [Sat, 11 Oct 2008 03:47:42 +0000 (20:47 -0700)] 
Add x-follows-version-policy tag

darcs-hash:20081011034742-adfee-ceabc7cef114c6bc02d37cba7cdcd56e71e15744

11 years agoremove -ffi options (in favour of -XForeignFunctionInterface)
Ashley Yakeley [Mon, 15 Sep 2008 00:19:01 +0000 (17:19 -0700)] 
remove -ffi options (in favour of -XForeignFunctionInterface)

darcs-hash:20080915001901-ac6dd-48abe6364ead4d30656f5a1ca6a05a854f9bd0fb

11 years agodon't warn about orphan instances; they're real warnings now (i.e. errors with -Werror)
Ashley Yakeley [Tue, 12 Aug 2008 07:35:46 +0000 (00:35 -0700)] 
don't warn about orphan instances; they're real warnings now (i.e. errors with -Werror)

darcs-hash:20080812073546-ac6dd-936d990eb8c2e6293124aec9f646a7988edca214

11 years agoChange "accuracy" to "precision".
Alexander Dunlap [Tue, 29 Jul 2008 18:37:58 +0000 (11:37 -0700)] 
Change "accuracy" to "precision".

See <http://www.haskell.org/pipermail/libraries/2008-July/010290.html>.

darcs-hash:20080729183758-e80da-955fe221e10854ee27e143cdb282caae7c010d33

11 years agoRemove -Wall and -Werror, they don't belong here
Simon Marlow [Thu, 19 Jun 2008 14:12:19 +0000 (07:12 -0700)] 
Remove -Wall and -Werror, they don't belong here

this fixes GHC HEAD right now, which generates a warning for -ffi.

darcs-hash:20080619141219-12142-2fdb57eb762347e667e8e5d1ed92e82afd5ef599

11 years agoBump version to 1.1.2.1
Ian Lynagh [Wed, 4 Jun 2008 12:13:53 +0000 (05:13 -0700)] 
Bump version to 1.1.2.1

darcs-hash:20080604121353-3fd76-d2a8d0737dfac619589ac8d511c9712259c7a7a8

11 years agoFigure out timezone offset from timezone name
David Leuschner [Sat, 2 Feb 2008 11:33:17 +0000 (03:33 -0800)] 
Figure out timezone offset from timezone name

darcs-hash:20080202113317-3c698-73870973cd45d7f9ca67476c4d46e39db79e8402

11 years agodocument how to get a POSIXTime from an EpochTime or CTime.
Simon Marlow [Wed, 5 Dec 2007 09:15:37 +0000 (01:15 -0800)] 
document how to get a POSIXTime from an EpochTime or CTime.

darcs-hash:20071205091537-760e2-5c6cf6c587c9f72fe962cedd4a33b764a627016d

11 years agoBump version number
Ian Lynagh [Sat, 27 Oct 2007 12:49:20 +0000 (05:49 -0700)] 
Bump version number

darcs-hash:20071027124920-3fd76-1e1832bf4e7b70abd50fd5f502f04781e30836b2

12 years agoUse configurations to allow building with ghc-6.6, 6.8
Duncan Coutts [Thu, 18 Oct 2007 17:38:27 +0000 (10:38 -0700)] 
Use configurations to allow building with ghc-6.6, 6.8

Specify build-type: Custom since there is test code in Setup.hs

darcs-hash:20071018173827-adfee-6a7bc524d8bade80a2276c809006e48faeb701dd

12 years agoHaddock for parseTime and friends.
bjorn [Tue, 16 Oct 2007 20:19:31 +0000 (13:19 -0700)] 
Haddock for parseTime and friends.

darcs-hash:20071016201931-6cdb2-3cfa3dd21381bb0fd52398f717d5ba9ad4eaa7b2

12 years agoDocument the format used for output with %z.
bjorn [Tue, 16 Oct 2007 19:54:49 +0000 (12:54 -0700)] 
Document the format used for output with %z.

darcs-hash:20071016195449-6cdb2-282aead0b5077d6d80d15d2110c9316b910ff13a

12 years agoAllow a colon between the hours and minutes when parsing with %z and %Z.
bjorn [Tue, 16 Oct 2007 19:52:39 +0000 (12:52 -0700)] 
Allow a colon between the hours and minutes when parsing with %z and %Z.

darcs-hash:20071016195239-6cdb2-17cf31be16d40e755740f2d3d264094be8e344a3

12 years agoFixed Cabal-induced breakage, once again...
sven.panne [Sat, 8 Sep 2007 16:02:56 +0000 (09:02 -0700)] 
Fixed Cabal-induced breakage, once again...

MERGE TO STABLE (if we have a concept of "stable libraries")

darcs-hash:20070908160256-96103-c5c21e89632939ac5896cf44abc9aa381df7ed4e

12 years agoTrack .cabal syntax changes once again
sven.panne [Sat, 1 Sep 2007 15:47:28 +0000 (08:47 -0700)] 
Track .cabal syntax changes once again

darcs-hash:20070901154728-96103-656ff80bfc077ca44cbfe2afc3ca3a1a032b2fa9

12 years agoUse configurations rather than Setup.hs hacks
Ian Lynagh [Sun, 29 Jul 2007 21:38:33 +0000 (14:38 -0700)] 
Use configurations rather than Setup.hs hacks

darcs-hash:20070729213833-3fd76-865c6cb804d9768e5712cfe6bb5cd1f77340eda9

12 years agoFIX #1486: timezone offset has the wrong sign on Windows
Simon Marlow [Tue, 10 Jul 2007 08:12:36 +0000 (01:12 -0700)] 
FIX #1486: timezone offset has the wrong sign on Windows

Fix submitted by Olivier Boudry, thanks!

darcs-hash:20070710081236-760e2-6581eff1e91b2207190b15ec6143f0eb26442178

12 years agoProvide a configure flag to set which C compiler is used
Ian Lynagh [Sat, 7 Jul 2007 11:24:51 +0000 (04:24 -0700)] 
Provide a configure flag to set which C compiler is used

darcs-hash:20070707112451-3fd76-20588169237238c46714c9edaa964ca373949bfa

12 years ago#undef PACKAGE_NAME and friends to avoid clashes
Simon Marlow [Wed, 6 Jun 2007 14:20:42 +0000 (07:20 -0700)] 
#undef PACKAGE_NAME and friends to avoid clashes

darcs-hash:20070606142042-760e2-20bc4e080e1edf8b0e12fd8c5b68da9d21e89c79

12 years ago--configure-option and --ghc-option are now provided by Cabal
Ross Paterson [Mon, 4 Jun 2007 11:55:55 +0000 (04:55 -0700)] 
--configure-option and --ghc-option are now provided by Cabal

darcs-hash:20070604115555-b47d3-494f023ee54f001497ff09fe4e165b655a776147

12 years agoFollow base split (now dep on old-locale)
Ian Lynagh [Thu, 24 May 2007 17:37:51 +0000 (10:37 -0700)] 
Follow base split (now dep on old-locale)

darcs-hash:20070524173751-3fd76-d9ce4ca8fba7e38a62deaea0920d0011cf82678e

12 years agoRemove Makefile and package.conf.in (used in the old GHC build system)
Ian Lynagh [Thu, 24 May 2007 14:58:37 +0000 (07:58 -0700)] 
Remove Makefile and package.conf.in (used in the old GHC build system)

darcs-hash:20070524145837-3fd76-402cae7ffe2155bdb3ef4b1a3081935c74e66f32

12 years agoBump version to 1.1.1
Ian Lynagh [Sun, 22 Apr 2007 19:52:28 +0000 (12:52 -0700)] 
Bump version to 1.1.1

darcs-hash:20070422195228-3fd76-279361d39d538b6e458e46526389712ccc8b45fe

12 years agoWe now need to check the exitcode of the tests
Ian Lynagh [Sat, 21 Apr 2007 16:23:30 +0000 (09:23 -0700)] 
We now need to check the exitcode of the tests

darcs-hash:20070421162330-3fd76-36ce113c06f673ae509deac9eb047e5f539a69c5

12 years agoFollow Cabal changes in Setup.*hs
Ian Lynagh [Wed, 18 Apr 2007 12:14:32 +0000 (05:14 -0700)] 
Follow Cabal changes in Setup.*hs

darcs-hash:20070418121432-3fd76-50d82afe568d115252a1a061ee8e8cb581e2bebc

12 years agoHack due to time needing Win32 on Windows
Ian Lynagh [Sun, 15 Apr 2007 21:52:27 +0000 (14:52 -0700)] 
Hack due to time needing Win32 on Windows

darcs-hash:20070415215227-3fd76-ee66b60c836f81fa879ba9e80220fac57f47e261

12 years agoFix -Wall warnings
Ian Lynagh [Wed, 11 Apr 2007 01:22:40 +0000 (18:22 -0700)] 
Fix -Wall warnings

darcs-hash:20070411012240-3fd76-b092e0f174e882a180df231c955a3456d2ddeb65

12 years agoMake Setup.hs suitable for building in a GHC tree
Ian Lynagh [Sat, 7 Apr 2007 17:41:49 +0000 (10:41 -0700)] 
Make Setup.hs suitable for building in a GHC tree

darcs-hash:20070407174149-3fd76-51c9fae37e93e4f367400b38078fc490266864f0

12 years agoAdded missing directory
sven.panne [Thu, 22 Mar 2007 17:26:49 +0000 (10:26 -0700)] 
Added missing directory

darcs-hash:20070322172649-96103-35df5e909f8a7d8bb1158a45cc50110b24aa7c4f

12 years agoFixed hyperlinks to formatTime
sven.panne [Thu, 22 Mar 2007 17:02:58 +0000 (10:02 -0700)] 
Fixed hyperlinks to formatTime

darcs-hash:20070322170258-96103-bd25d42aa6fa7432c891d28a9032b103f3cc53f3

12 years agobuild/license/boring cleanup
Ashley Yakeley [Fri, 23 Feb 2007 00:33:26 +0000 (16:33 -0800)] 
build/license/boring cleanup

darcs-hash:20070223003326-ac6dd-68918006d98d55eea314ccedb36a5b24de0d509b

12 years agoclean up HsTime
Ashley Yakeley [Tue, 20 Feb 2007 02:01:29 +0000 (18:01 -0800)] 
clean up HsTime

darcs-hash:20070220020129-ac6dd-8b7a4cfbded155623c93ee1b26bafe5f801fd1c6

12 years agoversion 1.1
Ashley Yakeley [Tue, 20 Feb 2007 01:52:51 +0000 (17:52 -0800)] 
version 1.1

darcs-hash:20070220015251-ac6dd-223729392751ba0ef63dda315df9cd5263dbadc4

12 years agoREADME about building from darcs
Ross Paterson [Sun, 18 Feb 2007 11:01:59 +0000 (03:01 -0800)] 
README about building from darcs

darcs-hash:20070218110159-b47d3-02982554bbac9710b4ad35c5d4de873c6c0f693f

12 years agomove parsing and formatting into new module
Ashley Yakeley [Wed, 14 Feb 2007 03:59:07 +0000 (19:59 -0800)] 
move parsing and formatting into new module

darcs-hash:20070214035907-ac6dd-25a86dd8e9d5313cc998c300f9c524d4652749bf

12 years agoCleaned up date parsing QuickCheck properties.
bjorn [Sun, 11 Feb 2007 18:15:02 +0000 (10:15 -0800)] 
Cleaned up date parsing QuickCheck properties.

darcs-hash:20070211181502-6cdb2-225795f312c8381c33bd79811535c0d34e2e461b

12 years agoChanged %Z to produce the time zone offset if the time zone name is "".
bjorn [Sun, 11 Feb 2007 18:11:09 +0000 (10:11 -0800)] 
Changed %Z to produce the time zone offset if the time zone name is "".

Rationale: Without this, if you format a ZonedTime which contains an
unnamed timezone, %Z produces the empty string. This is invalid in
many formats. It is better to output the offset when there
is no timezone name.

darcs-hash:20070211181109-6cdb2-bde288cdfb6400ef08b24b26aa2f59d7f25807e4

12 years agoAdded %f: The century part of the week date year.
bjorn [Sun, 11 Feb 2007 16:26:07 +0000 (08:26 -0800)] 
Added %f: The century part of the week date year.

Fixes part of http://hackage.haskell.org/trac/ghc/ticket/1007
Rationale: There is a %g specifier for the last two digits of the
week date year, but no specifier for the century. %C cannot be used,
since the normal century and the week date century can differ:

> formatTime defaultTimeLocale "%Y %G" (fromGregorian 2000 1 1)
"2000 1999"

darcs-hash:20070211162607-6cdb2-605a7f26b21c0a063f2308683845e727688a35bd

12 years agoQuickCheck properties for the new %S, %q and %Q.
bjorn [Sun, 11 Feb 2007 16:15:46 +0000 (08:15 -0800)] 
QuickCheck properties for the new %S, %q and %Q.

darcs-hash:20070211161546-6cdb2-207fccfeafd267fd7216458018b523bd134137e4

12 years agoChanged %S to return whole seconds, and added %Q and %q.
bjorn [Sun, 11 Feb 2007 15:53:58 +0000 (07:53 -0800)] 
Changed %S to return whole seconds, and added %Q and %q.

Implements part of http://hackage.haskell.org/trac/ghc/ticket/1007

formatTime: Change %S to: the number of whole seconds.
formatTime: Add %q: the number of picoseconds (including trailing zeroes).
formatTime: Add %Q: decimal point and second decimals, without trailing zeros.
If the number of picoseconds is zero, nothing is produced (not even the decimal point).

Rationale: Currently %S includes decimals if there are any. This is different from
strftime, and there is no format specifier for just the integer part of the seconds.
It would be nice to have such a specifier to implement many standard date formats
(e.g. RFC 822). Also a specifier for second decimals would also help when using %s.
Currently there is no reasonable way to get more than integer second precision with
since-epoch timestamps. The current %S would be equivalent to %S%Q under this proposal."

darcs-hash:20070211155358-6cdb2-de94204665c57a1b86b65bd80f1a98d3d469d0f0

12 years agoget "runhaskell Setup.hs test" to work
Ashley Yakeley [Sat, 23 Dec 2006 02:26:02 +0000 (18:26 -0800)] 
get "runhaskell Setup.hs test" to work

darcs-hash:20061223022602-ac6dd-8a16b100b94134574f8368cb1a521ea0d55ff64f

12 years agoattempt to get cabal test working
Ashley Yakeley [Wed, 20 Dec 2006 10:12:54 +0000 (02:12 -0800)] 
attempt to get cabal test working

darcs-hash:20061220101254-ac6dd-56f6ff37f578c96f352ca61032eaf269e727bdf9

12 years agoxcodeproj cleanup
Ashley Yakeley [Wed, 20 Dec 2006 10:10:47 +0000 (02:10 -0800)] 
xcodeproj cleanup

darcs-hash:20061220101047-ac6dd-3093f56c4241839008d7f7d41348462ddab923de

12 years agoXCode tweak
Ashley Yakeley [Wed, 20 Dec 2006 06:50:56 +0000 (22:50 -0800)] 
XCode tweak

darcs-hash:20061220065056-ac6dd-5e7ba8cb7e336e47f345da73ee1bec98f45ef182

12 years agoimprove error reporting in XCode
Ashley Yakeley [Wed, 20 Dec 2006 06:49:48 +0000 (22:49 -0800)] 
improve error reporting in XCode

darcs-hash:20061220064948-ac6dd-e6e4ca06bf1e0a7d15ca9d825a42a6b34775cefc

12 years agoclean up .xcodeproj to use cabal
Ashley Yakeley [Wed, 20 Dec 2006 05:05:38 +0000 (21:05 -0800)] 
clean up .xcodeproj to use cabal

darcs-hash:20061220050538-ac6dd-e79ba99f9d60002b3298c351f73744dd7fc8eafd

12 years agoHsTime.h should be installed
mukai [Wed, 13 Dec 2006 15:13:46 +0000 (07:13 -0800)] 
HsTime.h should be installed

darcs-hash:20061213151346-f0081-bc57b7801c511854b6e762e4db78a5e68ff109b7

12 years agomove test dir up, remove old junk
Ashley Yakeley [Mon, 11 Dec 2006 08:00:45 +0000 (00:00 -0800)] 
move test dir up, remove old junk

darcs-hash:20061211080045-ac6dd-ce8452ab86b8c8efdfb9d6697df9c32aad49d87d

12 years agoFixed taiEpoch Haddock comment to include the epoch time.
bjorn [Thu, 16 Nov 2006 12:00:24 +0000 (04:00 -0800)] 
Fixed taiEpoch Haddock comment to include the epoch time.

The taiEpoch haddock comment was just "The epoch of TAI, which is".
Changed this to "The epoch of TAI, which is 1858-11-17 00:00:00 TAI."

darcs-hash:20061116120024-6cdb2-fe77f9d9bd5336bbd91bee5afcb055f3a6796965

12 years agoCompile test programs using ../../dist/build/libHStime-1.0.a as produced by the Cabal...
bjorn [Thu, 16 Nov 2006 11:20:48 +0000 (03:20 -0800)] 
Compile test programs using ../../dist/build/libHStime-1.0.a as produced by the Cabal build step.

darcs-hash:20061116112048-6cdb2-c592217ab26ead8026d074c6d410f0d10265e0c0

12 years agoChanged test case Makefile to work with GHC 6.6 (there is no -package fixed).
bjorn [Thu, 16 Nov 2006 11:13:46 +0000 (03:13 -0800)] 
Changed test case Makefile to work with GHC 6.6 (there is no -package fixed).

darcs-hash:20061116111346-6cdb2-7ced2b2124315f6bf4545d0617ec10bd50bd6896

12 years agoMoved %c to failing ZonedTime test since formatTime %Z does not output time zone...
bjorn [Thu, 16 Nov 2006 11:12:47 +0000 (03:12 -0800)] 
Moved %c to failing ZonedTime test since formatTime %Z does not output time zone offset if there is no time zone name.

darcs-hash:20061116111247-6cdb2-509d4a19b5225b95dc0343a983099569d2f90fad

12 years agoAdded quickcheck properties for time parsing.
bjorn [Thu, 16 Nov 2006 10:56:16 +0000 (02:56 -0800)] 
Added quickcheck properties for time parsing.

darcs-hash:20061116105616-6cdb2-eed6a7e86410241c74b0b43e4e2d8c4a45096ba7

12 years agoChanged UTC to +0000 in default time zone in ParseTime, to avoid spurios time zone...
bjorn [Thu, 16 Nov 2006 10:52:54 +0000 (02:52 -0800)] 
Changed UTC to +0000 in default time zone in ParseTime, to avoid spurios time zone names.

darcs-hash:20061116105254-6cdb2-3328529fc7d8536b6e9009295768fdc2eae7e25a

12 years agoUpdated SRC and dependencies in time/Makefile to include Data.Time.LocalTime.Parse.
bjorn [Thu, 16 Nov 2006 10:44:38 +0000 (02:44 -0800)] 
Updated SRC and dependencies in time/Makefile to include Data.Time.LocalTime.Parse.

darcs-hash:20061116104438-6cdb2-7dad989c3cb1ccaadefe38b7f03a40a0a219ad8d

12 years agoAdded Data.Time.LocalTime.Parse, UNIX-style time parsing.
bjorn [Thu, 16 Nov 2006 09:58:49 +0000 (01:58 -0800)] 
Added Data.Time.LocalTime.Parse, UNIX-style time parsing.

The old System.Time has had a TODO  "* add functions to parse strings to
`CalendarTime' (some day...)" for a long time. The question about date parsing
comes up once in a while on the mailing lists
(e.g. http://comments.gmane.org/gmane.comp.lang.haskell.cafe/16438).

darcs-hash:20061116095849-6cdb2-fef2cd50b6017d49ede023864ae4a2f56f9584a8

12 years agoSome haddock formatting for fromMondayStartWeek and fromSundayStartWeek.
bjorn [Thu, 16 Nov 2006 09:56:20 +0000 (01:56 -0800)] 
Some haddock formatting for fromMondayStartWeek and fromSundayStartWeek.

darcs-hash:20061116095620-6cdb2-0add550bd79d80a7f1ddd794a050d72c25226e63

12 years agoAdded fromMondayStartWeek and fromSundayStartWeek to Data.Time.Calendar.OrdinalDate.
bjorn [Thu, 16 Nov 2006 09:21:14 +0000 (01:21 -0800)] 
Added fromMondayStartWeek and fromSundayStartWeek to Data.Time.Calendar.OrdinalDate.

I couldn't find any duals of mondayStartWeek and sundayStartWeek. They
are useful when implementing parsing for %W and %U.

darcs-hash:20061116092114-6cdb2-794a278759d65b1cdbb8fbb8f890409edbaa3834

12 years agoAdd secondsToDiffTime and picosecondsToDiffTime.
bjorn [Wed, 15 Nov 2006 22:21:45 +0000 (14:21 -0800)] 
Add secondsToDiffTime and picosecondsToDiffTime.

Rationale:
As has come up on haskell-cafe
(http://comments.gmane.org/gmane.comp.lang.haskell.cafe/15653), it
takes a while to figure out how to make DiffTime values.

secondsToDiffTime is not that important since it is just another name
for fromInteger, but I suspect that it would be used a lot.  Using
fromRational to create a DiffTime from a number of picoseconds is a
bit of a hassle, so having a picosecondsToDiffTime would be useful.

darcs-hash:20061115222145-6cdb2-4c0badc67fc5a5c1880c111902ee3e28ad793719

12 years agoHandle 'c' also in formatTime for ZonedTime, to get %Z filled in for ZonedTime and...
bjorn [Wed, 15 Nov 2006 22:08:18 +0000 (14:08 -0800)] 
Handle 'c' also in formatTime for ZonedTime, to get %Z filled in for ZonedTime and UTCTime.

Before, formatTime "%c" did not include the time zone even when applied to ZonedTime or UTCTime,
since "%c" was handled by the FormatTime LocalTime instance:

> fmap (formatTime System.Locale.defaultTimeLocale "%c") getZonedTime
"Sat Nov 11 19:12:45.395568  2006"
> fmap (formatTime System.Locale.defaultTimeLocale "%c") getCurrentTime
"Sat Nov 11 18:13:52.010944  2006"

Now it is correct:

> fmap (formatTime System.Locale.defaultTimeLocale "%c") getZonedTime
"Wed Nov 15 23:08:43.987526 CET 2006"
> fmap (formatTime System.Locale.defaultTimeLocale "%c") getCurrentTime
"Wed Nov 15 22:08:51.530603 UTC 2006"

darcs-hash:20061115220818-6cdb2-db20654b473141486d86a09551688043eebafb8b

12 years agoAdded missing example for showWeekDate.
bjorn [Wed, 15 Nov 2006 22:07:39 +0000 (14:07 -0800)] 
Added missing example for showWeekDate.

The showWeekDate haddock comment was:
  "show in ISO 8601 Week Date format as yyyy-Www-dd (e.g."

darcs-hash:20061115220739-6cdb2-5f577de58f061136b82cffa9c22c73b2e914bbed

12 years agoFixed typo: s/propleptic/proleptic/.
bjorn [Sat, 11 Nov 2006 16:55:49 +0000 (08:55 -0800)] 
Fixed typo: s/propleptic/proleptic/.

darcs-hash:20061111165549-6cdb2-2229da79c00c5415630eb6866533c290022c7ba0

12 years agoChanged docs for %U and %W to include the possibility of week 0 results.
bjorn [Sat, 11 Nov 2006 16:52:07 +0000 (08:52 -0800)] 
Changed docs for %U and %W to include the possibility of week 0 results.

darcs-hash:20061111165207-6cdb2-9182b09f62f804176b0febb4a2169348d06655f3

13 years agoadd Setup.hs
Ross Paterson [Thu, 28 Sep 2006 12:43:41 +0000 (05:43 -0700)] 
add Setup.hs

darcs-hash:20060928124341-b47d3-60393a942de235747b1fd6da3d2368850b46b3e4

13 years agofix up XCode project file for added files
Ashley Yakeley [Sun, 24 Sep 2006 22:11:49 +0000 (15:11 -0700)] 
fix up XCode project file for added files

darcs-hash:20060924221149-ac6dd-19f372cb63d0e2d981aaec9f0dd4ff79ad98c26a

13 years agonote CPP extension
Ross Paterson [Fri, 8 Sep 2006 23:37:07 +0000 (16:37 -0700)] 
note CPP extension

darcs-hash:20060908233707-b47d3-78501ce27828a9dec451577e46d281e401b84277

13 years agofix C-Sources (#893)
Ross Paterson [Fri, 8 Sep 2006 22:53:13 +0000 (15:53 -0700)] 
fix C-Sources (#893)

darcs-hash:20060908225313-b47d3-f3e63afec5f2173f6d7e535f6e6ee8a23094e725

13 years agoincludes -> install-includes
Ross Paterson [Tue, 29 Aug 2006 12:37:45 +0000 (05:37 -0700)] 
includes -> install-includes

darcs-hash:20060829123745-b47d3-b412b445da8438997899714f0cd0d54c91e54595

13 years agoadd aclocal.m4 to extra sources
Ross Paterson [Tue, 29 Aug 2006 12:36:40 +0000 (05:36 -0700)] 
add aclocal.m4 to extra sources

darcs-hash:20060829123640-b47d3-3e8a7c23975307c746b443eca30ca4c427468bcf

13 years agoSet version to 1.0 stable
Ashley Yakeley [Sun, 11 Jun 2006 22:03:22 +0000 (15:03 -0700)] 
Set version to 1.0 stable

darcs-hash:20060611220322-ac6dd-ab053b27abeaf26b9342a0ae7c5151d61f1e95f5

13 years agoeliminate the other mingw32_HOST_OS test
Ross Paterson [Wed, 7 Jun 2006 08:35:28 +0000 (01:35 -0700)] 
eliminate the other mingw32_HOST_OS test

darcs-hash:20060607083528-b47d3-c41fa71af0c4ab114f85816306687ee85c2860a1

13 years agono need to include ghcconfig.h any more
Simon Marlow [Wed, 7 Jun 2006 08:18:29 +0000 (01:18 -0700)] 
no need to include ghcconfig.h any more

darcs-hash:20060607081829-760e2-39d464373937cba058c1f6b2b6b6bfd5c16d98a5

13 years agouse non-GHC-specific #ifdef test for Windows
Simon Marlow [Wed, 7 Jun 2006 08:18:06 +0000 (01:18 -0700)] 
use non-GHC-specific #ifdef test for Windows

darcs-hash:20060607081806-760e2-001f4dfd1e83fba078f4d18274e0bda5ce8910c3

13 years agoremove debugging code
simonmar [Tue, 6 Jun 2006 13:00:44 +0000 (06:00 -0700)] 
remove debugging code

darcs-hash:20060606130044-3ed52-0c26fad63e2d0cde23c686bccd51205105b702a5

13 years agore-add #include "ghcconfig.h", conditional on __GLASGOW_HASKELL__
simonmar [Tue, 6 Jun 2006 12:38:41 +0000 (05:38 -0700)] 
re-add #include "ghcconfig.h", conditional on __GLASGOW_HASKELL__

darcs-hash:20060606123841-3ed52-e9ff9e6558dfbbc2ed6b26a3abb430079749e9c4

13 years agofix typo
Simon Marlow [Tue, 6 Jun 2006 12:16:20 +0000 (05:16 -0700)] 
fix typo

darcs-hash:20060606121620-760e2-1dc4cf4db92cbe47dcbfb7cca4b8f6e34df94c4d

13 years agoextra Cabal fields for clean and sdist
Ross Paterson [Tue, 30 May 2006 23:51:52 +0000 (16:51 -0700)] 
extra Cabal fields for clean and sdist

darcs-hash:20060530235152-b47d3-782de042e361c2c70e3bdf8d7677f4fdf36314d4

13 years agoCFILES directive for the benefit of Hugs
Ross Paterson [Tue, 30 May 2006 23:29:48 +0000 (16:29 -0700)] 
CFILES directive for the benefit of Hugs

darcs-hash:20060530232948-b47d3-2ff97506454a770200384abb80b730d91a45c73d

13 years agoremove dependency on ghcconfig.h
Ross Paterson [Tue, 30 May 2006 23:30:29 +0000 (16:30 -0700)] 
remove dependency on ghcconfig.h

darcs-hash:20060530233029-b47d3-8879f40442c09036bcb394df9f8bcf4f08a40d12

13 years agofix build breakage on Linux
Simon Marlow [Mon, 29 May 2006 12:42:50 +0000 (05:42 -0700)] 
fix build breakage on Linux

darcs-hash:20060529124250-760e2-12bae2db16624f19ae6462abe185ae79d3a04ad2

13 years agoVarious fixes to make this build & work on Windows
Simon Marlow [Mon, 29 May 2006 12:25:23 +0000 (05:25 -0700)] 
Various fixes to make this build & work on Windows

A number of things didn't work on Windows: we were using
gettimeofday() which doesn't exist, localtime_r() doesn't exist, the
tm_zone field in struct tm doesn't exist, etc.

 * timestuff.{c,h} is now cbits/HsTime.c and includes/HsTime.h,
   for consistency with other packages

 * There's a configure script.  Hence, a default Setup.hs will be
   required for using Cabal (I haven't added this yet, I think we
   were going to make some more changes in Cabal to make it optional).

 * fixed various problems in package.conf.in.  I haven't tested
   time.cabal, I expect it doesn't work on Windows, but it might
   still work on Unix.

 * We get the current time from the native Win32 API.  This requires
   the Win32 library, hence a conditional dependency on Win32.

 * some cursory testing on Win32, we can get the local time and the
   timezone looks ok.

darcs-hash:20060529122523-760e2-1707aeb6dcf612f6c7c134b1eab52c1187a8305f

13 years agoXCode build and temp files are boring
Ashley Yakeley [Thu, 4 May 2006 06:27:58 +0000 (23:27 -0700)] 
XCode build and temp files are boring

darcs-hash:20060504062758-ac6dd-3987f29736c7fb7e2286a95f7a2113addbc513e9

13 years agoset up boringfile
Ashley Yakeley [Thu, 4 May 2006 06:20:30 +0000 (23:20 -0700)] 
set up boringfile

darcs-hash:20060504062030-ac6dd-233eb703d26a826c1c664cf52f3d8a23dd5a8203

13 years agohaddock working with time package
Ashley Yakeley [Wed, 3 May 2006 05:41:16 +0000 (22:41 -0700)] 
haddock working with time package

darcs-hash:20060503054116-ac6dd-5604e00093fa50793b3a97849988ca2530a82cc3

13 years agomake suitable for build process
Ashley Yakeley [Mon, 1 May 2006 09:21:11 +0000 (02:21 -0700)] 
make suitable for build process

darcs-hash:20060501092111-ac6dd-5bffa4956f92b470779215f8b501d2cb7e7fcafc

13 years agomove time files to proper place
Ashley Yakeley [Mon, 1 May 2006 08:07:37 +0000 (01:07 -0700)] 
move time files to proper place

darcs-hash:20060501080737-ac6dd-1516981211d8e07fa5bbb97c1e4c24b0cb4661b2

13 years agoremove everything not part of time package
Ashley Yakeley [Mon, 1 May 2006 07:20:30 +0000 (00:20 -0700)] 
remove everything not part of time package

darcs-hash:20060501072030-ac6dd-fd9cd75b438585429686c16d0d5b1cd27dd17f31

13 years agoexport isLeapYear in Calendar; new version
Ashley Yakeley [Sun, 19 Mar 2006 03:47:59 +0000 (19:47 -0800)] 
export isLeapYear in Calendar; new version

darcs-hash:20060319034759-ac6dd-c81de3b9819edf8f99dd95e5e34af1871d29fab8

13 years agoadd missing file; README file; root Makefile clean fix
Ashley Yakeley [Mon, 6 Feb 2006 06:36:47 +0000 (22:36 -0800)] 
add missing file; README file; root Makefile clean fix

darcs-hash:20060206063647-ac6dd-e953bb4a546bdbadc1547fcc27f8f30f537eb435

13 years agoBig Split into separate fixed and time packages
Ashley Yakeley [Mon, 6 Feb 2006 05:42:30 +0000 (21:42 -0800)] 
Big Split into separate fixed and time packages

darcs-hash:20060206054230-ac6dd-a970e95db4cf6337537aaf779596636f8b92f5fe

13 years agosort out POSIX module mess
Ashley Yakeley [Sat, 17 Dec 2005 23:20:41 +0000 (15:20 -0800)] 
sort out POSIX module mess

darcs-hash:20051217232041-ac6dd-3796054df5e794cec4e432cc2a9b192ac0f0df5e

13 years agomove Data.Time.TAI to Data.Time.Clock.TAI
Ashley Yakeley [Sat, 17 Dec 2005 22:19:51 +0000 (14:19 -0800)] 
move Data.Time.TAI to Data.Time.Clock.TAI

darcs-hash:20051217221951-ac6dd-98191cd696896f70ab9883e60043ab442885518d

13 years agohaddock comments for formatTime and others
Ashley Yakeley [Sat, 17 Dec 2005 22:10:53 +0000 (14:10 -0800)] 
haddock comments for formatTime and others

darcs-hash:20051217221053-ac6dd-21a6dfbffaf15cc895532249c0b8a9cd451a97ca

13 years agoversion 0.3
Ashley Yakeley [Mon, 28 Nov 2005 04:41:54 +0000 (20:41 -0800)] 
version 0.3

darcs-hash:20051128044154-ac6dd-7cc2b0fc15533e050ef0dd5838501b1030940f6e

13 years agomore sensible WeekDate and OrdinalDate names
Ashley Yakeley [Mon, 28 Nov 2005 04:40:59 +0000 (20:40 -0800)] 
more sensible WeekDate and OrdinalDate names

darcs-hash:20051128044059-ac6dd-0840e1a031d533a71fb5e438f1e3d6bcaa67ee5a

13 years agofix tests; rename ISO 8601 modules
Ashley Yakeley [Mon, 28 Nov 2005 04:06:14 +0000 (20:06 -0800)] 
fix tests; rename ISO 8601 modules

darcs-hash:20051128040614-ac6dd-83a5a6ba7fa4764ae4e9b8cfea18401f260f3aeb

13 years agomove out MonthDay and YearDay
Ashley Yakeley [Mon, 28 Nov 2005 03:15:30 +0000 (19:15 -0800)] 
move out MonthDay and YearDay

darcs-hash:20051128031530-ac6dd-3f85b81566d7460fb2faa21f0783f11b4421cf62