packages/time.git
19 months agoparsing: reject invalid (and empty) time-zones with %z and %Z (#75)
Ashley Yakeley [Wed, 10 Jan 2018 09:09:13 +0000 (01:09 -0800)] 
parsing: reject invalid (and empty) time-zones with %z and %Z (#75)

19 months agoChecklist: hide test successes in builds
Ashley Yakeley [Wed, 10 Jan 2018 03:05:02 +0000 (19:05 -0800)] 
Checklist: hide test successes in builds

19 months agoinstance FormatTime DayOfWeek (with test)
Ashley Yakeley [Wed, 10 Jan 2018 02:42:00 +0000 (18:42 -0800)] 
instance FormatTime DayOfWeek (with test)

19 months agohaddock: instance Enum DayOfWeek: fix
Ashley Yakeley [Wed, 10 Jan 2018 02:10:06 +0000 (18:10 -0800)] 
haddock: instance Enum DayOfWeek: fix

19 months agomake Week a private module
Ashley Yakeley [Wed, 10 Jan 2018 02:06:45 +0000 (18:06 -0800)] 
make Week a private module

19 months agonew Data.Week module with DayOfWeek type (#69)
Ashley Yakeley [Wed, 10 Jan 2018 01:45:10 +0000 (17:45 -0800)] 
new Data.Week module with DayOfWeek type (#69)

19 months ago.hindent.yaml (not that we use it)
Ashley Yakeley [Tue, 9 Jan 2018 22:00:24 +0000 (14:00 -0800)] 
.hindent.yaml (not that we use it)

19 months agoversion 1.9
Ashley Yakeley [Tue, 9 Jan 2018 21:52:42 +0000 (13:52 -0800)] 
version 1.9

19 months agoparseTimeM: use MonadFail where possible (#79)
Ashley Yakeley [Tue, 9 Jan 2018 07:45:27 +0000 (23:45 -0800)] 
parseTimeM: use MonadFail where possible (#79)

19 months agotest: fix minBound test for 32 bit
Ashley Yakeley [Tue, 9 Jan 2018 00:46:26 +0000 (16:46 -0800)] 
test: fix minBound test for 32 bit

19 months agoupdate Checklist
Ashley Yakeley [Mon, 8 Jan 2018 23:39:54 +0000 (15:39 -0800)] 
update Checklist

19 months agofix .gitignore
Ashley Yakeley [Mon, 8 Jan 2018 23:26:13 +0000 (15:26 -0800)] 
fix .gitignore

19 months agodoc: parseTimeM: correct example
Ashley Yakeley [Mon, 8 Jan 2018 23:08:02 +0000 (15:08 -0800)] 
doc: parseTimeM: correct example

19 months agogitignore conftest.*
Ashley Yakeley [Mon, 8 Jan 2018 22:39:41 +0000 (14:39 -0800)] 
gitignore conftest.*

19 months agotravis: switch from 8.2.1 to 8.2.2
Ashley Yakeley [Mon, 8 Jan 2018 22:38:12 +0000 (14:38 -0800)] 
travis: switch from 8.2.1 to 8.2.2

19 months agoupdate to latest LTS
Ashley Yakeley [Mon, 8 Jan 2018 22:36:54 +0000 (14:36 -0800)] 
update to latest LTS

19 months agoupdate changelog
Ashley Yakeley [Mon, 8 Jan 2018 22:35:33 +0000 (14:35 -0800)] 
update changelog

19 months agoMerge pull request #78 from saurabhnanda/patch-1
Ashley Yakeley [Mon, 8 Jan 2018 10:21:36 +0000 (02:21 -0800)] 
Merge pull request #78 from saurabhnanda/patch-1

Added an example for parseTimeM

19 months agoRemoved the cautionary paragraph
Saurabh Nanda [Mon, 8 Jan 2018 06:25:31 +0000 (11:55 +0530)] 
Removed the cautionary paragraph

19 months agoupdate version and Checklist
Ashley Yakeley [Sun, 7 Jan 2018 22:00:47 +0000 (14:00 -0800)] 
update version and Checklist

19 months agoGet working with lts-10
Ashley Yakeley [Sun, 7 Jan 2018 21:31:43 +0000 (13:31 -0800)] 
Get working with lts-10

19 months agofix show minBound (issue #77)
Ashley Yakeley [Sun, 7 Jan 2018 08:14:51 +0000 (00:14 -0800)] 
fix show minBound (issue #77)

19 months agoAdded cautionary note against using parseTimeM in Either monad
Saurabh Nanda [Sun, 7 Jan 2018 03:09:43 +0000 (08:39 +0530)] 
Added cautionary note against using parseTimeM in Either monad

19 months agoAdded an example for parseTimeM
Saurabh Nanda [Thu, 4 Jan 2018 13:52:10 +0000 (19:22 +0530)] 
Added an example for parseTimeM

It wasn't very clear how to parse date/month with optional `0` padding.

21 months agostack.yaml: lts-9.12
Ashley Yakeley [Tue, 7 Nov 2017 20:09:59 +0000 (12:09 -0800)] 
stack.yaml: lts-9.12

2 years agoVersion 1.8.0.3, and changelog
Ashley Yakeley [Fri, 4 Aug 2017 00:15:31 +0000 (17:15 -0700)] 
Version 1.8.0.3, and changelog

2 years agoQuick start documentation
Ashley Yakeley [Fri, 4 Aug 2017 00:08:44 +0000 (17:08 -0700)] 
Quick start documentation

2 years agostack: lts-9.0
Ashley Yakeley [Thu, 3 Aug 2017 23:58:49 +0000 (16:58 -0700)] 
stack: lts-9.0

2 years agotime.cabal: fix for latest "cabal check"
Ashley Yakeley [Thu, 3 Aug 2017 23:33:42 +0000 (16:33 -0700)] 
time.cabal: fix for latest "cabal check"

2 years agoChecklist: return to master branch when done
Ashley Yakeley [Thu, 3 Aug 2017 23:32:09 +0000 (16:32 -0700)] 
Checklist: return to master branch when done

2 years agotravis: test with CABALVER=2.0 GHCVER=8.2.1
Ashley Yakeley [Thu, 3 Aug 2017 23:24:37 +0000 (16:24 -0700)] 
travis: test with CABALVER=2.0 GHCVER=8.2.1

2 years agoTravis: GHC 8.0.2 build 1.8.0.2
Ashley Yakeley [Sat, 13 May 2017 20:25:51 +0000 (13:25 -0700)] 
Travis: GHC 8.0.2 build

2 years agostack.yaml: updated to latest resolver
Ashley Yakeley [Sat, 13 May 2017 20:01:57 +0000 (13:01 -0700)] 
stack.yaml: updated to latest resolver

2 years agoversion 1.8.0.2
Ashley Yakeley [Sat, 13 May 2017 20:00:07 +0000 (13:00 -0700)] 
version 1.8.0.2

2 years agoFormat: update comment on %Q specifier
Ashley Yakeley [Sat, 13 May 2017 19:23:28 +0000 (12:23 -0700)] 
Format: update comment on %Q specifier

2 years agoMerge branch 'master' of github.com:haskell/time
Ashley Yakeley [Sat, 13 May 2017 10:36:34 +0000 (03:36 -0700)] 
Merge branch 'master' of github.com:haskell/time

2 years agofix format behaviour of %Q
Ashley Yakeley [Sat, 13 May 2017 10:36:21 +0000 (03:36 -0700)] 
fix format behaviour of %Q

2 years agoMerge pull request #73 from bgamari/master
Ashley Yakeley [Mon, 1 May 2017 05:53:26 +0000 (22:53 -0700)] 
Merge pull request #73 from bgamari/master

Fix #ifdef

2 years agoFix #ifdef
Ben Gamari [Sun, 30 Apr 2017 12:48:25 +0000 (08:48 -0400)] 
Fix #ifdef

GHC is now compiled with -Werror=undef; explicitly use #ifdef instead
of #if

2 years agoMerge pull request #71 from bgamari/master
Ashley Yakeley [Thu, 6 Apr 2017 00:07:43 +0000 (17:07 -0700)] 
Merge pull request #71 from bgamari/master

test using "#ifdef" for HAVE_CLOCK_GETTIME

2 years agotest using "#ifdef" for HAVE_CLOCK_GETTIME
Gabor Greif [Wed, 5 Apr 2017 15:55:09 +0000 (17:55 +0200)] 
test using "#ifdef" for HAVE_CLOCK_GETTIME

GHC has recently tightened preprocessor checks,
so this "#elif" started to fail.

2 years agoFix tests on 32 bit 1.8.0.1
Ashley Yakeley [Sat, 11 Mar 2017 20:45:30 +0000 (12:45 -0800)] 
Fix tests on 32 bit

2 years agoUse floor instead of truncate
Ashley Yakeley [Sat, 11 Mar 2017 19:39:17 +0000 (11:39 -0800)] 
Use floor instead of truncate

2 years agotest: remove unnecessary pragmas
Ashley Yakeley [Sat, 11 Mar 2017 18:14:33 +0000 (10:14 -0800)] 
test: remove unnecessary pragmas

2 years agotest: fix most failures on 32 bit
Ashley Yakeley [Sat, 11 Mar 2017 17:43:13 +0000 (09:43 -0800)] 
test: fix most failures on 32 bit

2 years agoUpdate version to 1.8.0.1; update Checklist
Ashley Yakeley [Fri, 10 Mar 2017 19:53:01 +0000 (11:53 -0800)] 
Update version to 1.8.0.1; update Checklist

2 years agotest unix: fix time-zone test
Ashley Yakeley [Fri, 10 Mar 2017 19:33:31 +0000 (11:33 -0800)] 
test unix: fix time-zone test

2 years agoget building on 32-bit
Ashley Yakeley [Fri, 10 Mar 2017 19:09:40 +0000 (11:09 -0800)] 
get building on 32-bit

2 years agoChecklist: update ghc branch step
Ashley Yakeley [Tue, 21 Feb 2017 23:36:25 +0000 (15:36 -0800)] 
Checklist: update ghc branch step

2 years agoMerge pull request #63 from bgamari/master
Ashley Yakeley [Tue, 21 Feb 2017 23:33:20 +0000 (15:33 -0800)] 
Merge pull request #63 from bgamari/master

Merge orphan commit into branch 'upstream/master'

2 years agoMerge orphan commit into branch 'upstream/master'
Ben Gamari [Tue, 21 Feb 2017 14:17:28 +0000 (09:17 -0500)] 
Merge orphan commit into branch 'upstream/master'

Sometime in mid-January there was a force-push to upstream's `master`
repository, making 6e202edc1b0e32c25bc13194e6496c2c18198463 an orphan
commit. Unfortunately, there was a period of time when GHC's `time`
submodule referred to this commit, which means that we need to ensure it
remains accessible in the history. This merge folds this commit into the
`master` branch.

2 years agoAdd pre-release checklist 1.8
Ashley Yakeley [Tue, 14 Feb 2017 03:32:29 +0000 (19:32 -0800)] 
Add pre-release checklist

2 years agoUpdate changelog.md
Ashley Yakeley [Tue, 14 Feb 2017 03:32:12 +0000 (19:32 -0800)] 
Update changelog.md

2 years agofix type of exposed function timeZoneOffsetString'
Ashley Yakeley [Tue, 14 Feb 2017 03:29:30 +0000 (19:29 -0800)] 
fix type of exposed function timeZoneOffsetString'

2 years agoUpdate haddock
Ashley Yakeley [Tue, 14 Feb 2017 02:13:48 +0000 (18:13 -0800)] 
Update haddock

2 years agostack: lts-8.0
Ashley Yakeley [Tue, 14 Feb 2017 00:31:05 +0000 (16:31 -0800)] 
stack: lts-8.0

2 years agoformat widths: fix %q and %Q specifiers, with tests format-widths
Ashley Yakeley [Wed, 8 Feb 2017 06:28:33 +0000 (22:28 -0800)] 
format widths: fix %q and %Q specifiers, with tests

2 years agotest: fix formatting "z" with widths tests
Ashley Yakeley [Wed, 8 Feb 2017 03:48:40 +0000 (19:48 -0800)] 
test: fix formatting "z" with widths tests

2 years agoMerge branch 'master' into format-widths
Ashley Yakeley [Wed, 8 Feb 2017 03:33:24 +0000 (19:33 -0800)] 
Merge branch 'master' into format-widths

2 years agomention test changes in changelog.md
Ashley Yakeley [Wed, 8 Feb 2017 03:32:40 +0000 (19:32 -0800)] 
mention test changes in changelog.md

2 years agodocument formatting padding widths change
Ashley Yakeley [Wed, 8 Feb 2017 03:31:39 +0000 (19:31 -0800)] 
document formatting padding widths change

2 years agotest: formatting widths: fix most tests
Ashley Yakeley [Wed, 8 Feb 2017 03:26:05 +0000 (19:26 -0800)] 
test: formatting widths: fix most tests

2 years agoMerge branch 'master' into format-widths
Ashley Yakeley [Mon, 6 Feb 2017 07:24:00 +0000 (23:24 -0800)] 
Merge branch 'master' into format-widths

2 years agotest: unix: Format: use QuickCheck
Ashley Yakeley [Mon, 6 Feb 2017 07:15:38 +0000 (23:15 -0800)] 
test: unix: Format: use QuickCheck

2 years agoFormat: widths for format specifiers
Ashley Yakeley [Mon, 6 Feb 2017 04:30:12 +0000 (20:30 -0800)] 
Format: widths for format specifiers

2 years agoFix SystemTime on Windows
Ashley Yakeley [Sun, 5 Feb 2017 02:10:39 +0000 (18:10 -0800)] 
Fix SystemTime on Windows

2 years agotest: prevent building unix on Windows
Ashley Yakeley [Sat, 4 Feb 2017 10:59:21 +0000 (02:59 -0800)] 
test: prevent building unix on Windows

2 years agotest: move Unix formatting comparison tests to test-unix stanza
Ashley Yakeley [Sat, 4 Feb 2017 10:45:52 +0000 (02:45 -0800)] 
test: move Unix formatting comparison tests to test-unix stanza

2 years agotest: cabal: fix flag
Ashley Yakeley [Fri, 3 Feb 2017 22:52:34 +0000 (14:52 -0800)] 
test: cabal: fix flag

2 years agotest: don't build test-unix on Windows
Ashley Yakeley [Fri, 3 Feb 2017 22:16:11 +0000 (14:16 -0800)] 
test: don't build test-unix on Windows

2 years agotest: separate Unix-specific test stanza
Ashley Yakeley [Fri, 3 Feb 2017 22:09:12 +0000 (14:09 -0800)] 
test: separate Unix-specific test stanza

2 years agotest: minor clean-up
Ashley Yakeley [Fri, 3 Feb 2017 22:02:22 +0000 (14:02 -0800)] 
test: minor clean-up

2 years agotest: reorganise module hierarchy
Ashley Yakeley [Fri, 3 Feb 2017 21:43:42 +0000 (13:43 -0800)] 
test: reorganise module hierarchy

2 years agotest: TestValid: fix rejected cases problem tasty
Ashley Yakeley [Fri, 3 Feb 2017 08:32:27 +0000 (00:32 -0800)] 
test: TestValid: fix rejected cases problem

2 years agotest: clean up TestUtil; group tests properly
Ashley Yakeley [Thu, 2 Feb 2017 01:33:31 +0000 (17:33 -0800)] 
test: clean up TestUtil; group tests properly

2 years agotest: switch from test-framework to tasty
Ashley Yakeley [Thu, 19 Jan 2017 04:22:20 +0000 (20:22 -0800)] 
test: switch from test-framework to tasty

2 years agoget building with GHC 7.8
Ashley Yakeley [Mon, 16 Jan 2017 02:55:11 +0000 (18:55 -0800)] 
get building with GHC 7.8

2 years agoSystemTime: -fno-warn-trustworthy-safe
Ashley Yakeley [Mon, 16 Jan 2017 02:05:44 +0000 (18:05 -0800)] 
SystemTime: -fno-warn-trustworthy-safe

2 years agoSystemTime: fix for Win32
Ashley Yakeley [Mon, 16 Jan 2017 01:41:21 +0000 (17:41 -0800)] 
SystemTime: fix for Win32

2 years agoSystemTime: fix for Win32
Ashley Yakeley [Mon, 16 Jan 2017 01:41:21 +0000 (17:41 -0800)] 
SystemTime: fix for Win32

2 years agobenchmark: regroup tests, add getSystemTime
Ashley Yakeley [Mon, 16 Jan 2017 00:24:26 +0000 (16:24 -0800)] 
benchmark: regroup tests, add getSystemTime

2 years agobenchmark: fix
Ashley Yakeley [Mon, 16 Jan 2017 00:14:11 +0000 (16:14 -0800)] 
benchmark: fix

2 years agohaddock for Data.Time.Clock.System
Ashley Yakeley [Sun, 15 Jan 2017 22:01:59 +0000 (14:01 -0800)] 
haddock for Data.Time.Clock.System

2 years agorename unixEpochDay to systemEpochDay
Ashley Yakeley [Sun, 15 Jan 2017 20:05:34 +0000 (12:05 -0800)] 
rename unixEpochDay to systemEpochDay

2 years agorename internal LocalTime modules
Ashley Yakeley [Sat, 24 Dec 2016 21:54:55 +0000 (13:54 -0800)] 
rename internal LocalTime modules

2 years agoget TAI clock working
Ashley Yakeley [Sat, 24 Dec 2016 08:18:35 +0000 (00:18 -0800)] 
get TAI clock working

2 years agorename GetTime module to SystemTime
Ashley Yakeley [Sat, 24 Dec 2016 08:03:32 +0000 (00:03 -0800)] 
rename GetTime module to SystemTime

2 years agoadd utcToSystemTime; add tests
Ashley Yakeley [Sat, 24 Dec 2016 07:59:28 +0000 (23:59 -0800)] 
add utcToSystemTime; add tests

2 years agorename RawTime to SystemTime
Ashley Yakeley [Sat, 24 Dec 2016 00:31:48 +0000 (16:31 -0800)] 
rename RawTime to SystemTime

2 years agorename internal Clock modules
Ashley Yakeley [Sat, 24 Dec 2016 00:26:53 +0000 (16:26 -0800)] 
rename internal Clock modules

2 years agoput package in Time category
Ashley Yakeley [Fri, 23 Dec 2016 23:49:58 +0000 (15:49 -0800)] 
put package in Time category

2 years agoAlign modules/API with 1.7
Ashley Yakeley [Fri, 23 Dec 2016 23:49:25 +0000 (15:49 -0800)] 
Align modules/API with 1.7

2 years agorename some modules
Ashley Yakeley [Mon, 19 Dec 2016 03:27:40 +0000 (19:27 -0800)] 
rename some modules

2 years agoMerge branch 'update'
Ashley Yakeley [Mon, 19 Dec 2016 01:13:45 +0000 (17:13 -0800)] 
Merge branch 'update'

2 years agoSet version to 1.7.0.1
Ashley Yakeley [Mon, 19 Dec 2016 01:08:29 +0000 (17:08 -0800)] 
Set version to 1.7.0.1

2 years agoRemove useless version bounds on time
Ashley Yakeley [Mon, 19 Dec 2016 01:06:30 +0000 (17:06 -0800)] 
Remove useless version bounds on time

2 years agoadded RawTime; restored old POSIXTime
Ashley Yakeley [Sun, 18 Dec 2016 06:38:30 +0000 (22:38 -0800)] 
added RawTime; restored old POSIXTime

2 years agoadd taiClock
Ashley Yakeley [Wed, 14 Dec 2016 09:36:20 +0000 (01:36 -0800)] 
add taiClock

2 years agoadd clockResolution
Ashley Yakeley [Wed, 14 Dec 2016 08:10:03 +0000 (00:10 -0800)] 
add clockResolution

2 years agoMove getPOSIXTime to new module; support other clocks in CTimeSpec
Ashley Yakeley [Wed, 14 Dec 2016 04:41:35 +0000 (20:41 -0800)] 
Move getPOSIXTime to new module; support other clocks in CTimeSpec