A time library

Changes

Change Log

[1.8.0.2]

  • Fix behaviour of %Q in format

[1.8.0.1]

  • Get building on 32 bit machine

[1.8]

  • Added SystemTime
  • Data.Time.Format: allow padding widths in specifiers for formatting (but not parsing)
  • Test: use tasty, general clean-up
  • Test: separate out UNIX-specific tests, so the others can be run on Windows
  • Clean up haddock.

[1.7.0.1]

  • Fix bounds issue in .cabal file

[1.7]

  • Data.Time.Clock.TAI: change LeapSecondTable to LeapSecondMap with Maybe type; remove parseTAIUTCDATFile

[1.6.0.1]

  • Get building with earlier GHC versions
  • Set lower bound of base correctly

[1.6]

Added

  • FormatTime, ParseTime, Show and Read instances for UniversalTime
  • diffTimeToPicoseconds
  • this change log

Changed

  • Use clock_gettime where available
  • Read and Show instances exported in the same module as their types
  • Fixed bug in fromSundayStartWeekValid
  • Parsing functions now reject invalid dates
  • Various documentation fixes

[1.5.0.1]

Depends on:
Used by 1523 packages:
AERN-Net, AERN-RnToRm, AERN-RnToRm-Plot, Agda, Bang, Barracuda, BenchmarkHistory, CLI, CMQ, Cabal, Cabal-ide-backend, Chart, Chart-cairo, Chart-diagrams, Chart-gtk, Chart-simple, Combinatorrent, CoreFoundation, Craft3e, CurryDB, DAG-Tournament, DPM, DSH, Dao, Deadpan-DDP, DefendTheKing, Dflow, DisTract, DysFRP, EtaMOO, Etage, Etage-Graph, Extra, FComp, Finance-Quote-Yahoo, Finance-Treasury, Fractaler, Gamgine, GenI, GlomeView, GraphHammer, Graphalyze, Grow, GtkGLTV, GtkTV, HDBC, HDBC-mysql, HDBC-odbc, HDBC-postgresql, HGE2D, HLogger, HStringTemplate, HTF, HTTP, HUnit-Plus, Hach, HaskellTorrent, Hawk, Hermes, Hish, Hmpf, Hoed, Holumbus-Distribution, Holumbus-MapReduce, Holumbus-Storage, Hs2lib, HsOpenSSL, IrrHaskell, LambdaHack, LibClang, LibZip, LogicGrowsOnTrees, Lucu, Lykah, MFlow, MagicHaskeller, MailchimpSimple, MazesOfMonad, Mhailist, MissingH, MuCheck, MusicBrainz, NXT, Nomyx, Nomyx-Core, Nomyx-Language, Nomyx-Rules, Nomyx-Web, OTP, OnRmt, PUH-Project, PandocAgda, Parry, PerfectHash, Phsu, Plot-ho-matic, Pugs, Quelea, RNAlien, Raincat, Rasenschach, Redmine, SCalendar, Saturnin, Scurry, SessionLogger, SimpleH, SimpleLog, Spock, Spock-auth, Spock-core, Spock-worker, Stomp, Sysmon, Takusen, TrendGraph, TypingTester, UTFTConverter, VKHS, Villefort, Wheb, Yablog, Yogurt, Yogurt-Standalone, abeson, abstract-deque, abstract-deque-tests, accelerate, accelerate-llvm-native, accelerate-llvm-ptx, access-time, acme-now, activehs, activitystreams-aeson, actor, adblock2privoxy, adhoc-network, aeson, aeson-compat, aeson-extra, aeson-native, agentx, air, air-extra, airship, airtable-api, aivika-distributed, aivika-realtime, alarmclock, alerta, algebra-sql, amazon-emailer, amazon-products, amazonka, amazonka-core, amazonka-test, ampersand, analyze-client, anatomy, angel, anki-tools, ansi-pretty, antagonist, anticiv, antisplice, api-tools, apiary, apiary-clientsession, apiary-cookie, apiary-mongoDB, apis, arbtt, archive, arff, ascii-progress, astro, atlassian-connect-core, atndapi, atom-basic, atom-conduit, atomo, atp-haskell, attic-schedule, attoparsec-data, attoparsec-iso8601, attoparsec-time, authenticate-oauth, avers, avers-api, avers-server, aws, aws-cloudfront-signer, aws-dynamodb-streams, aws-ec2, aws-elastic-transcoder, aws-general, aws-kinesis, aws-kinesis-reshard, aws-lambda, aws-mfa-credentials, aws-performance-tests, aws-route53, aws-sdk, aws-sdk-text-converter, aws-sign4, aws-sns, azure-acs, azurify, b9, bake, ballast, bamboo, bamboo-theme-mini-html5, bank-holiday-usa, bank-holidays-england, barecheck, batchd, beam, beeminder-api, bein, benchmark-function, benchpress, bert, bet, bgmax, billeksah-pane, binary-orphans, binary-tagged, biophd, bitcoin-hs, bitcoin-payment-channel, bittorrent, bitx-bitcoin, blacktip, blaze-textual, blaze-textual-native, blockchain, blogination, bloodhound, bloodhound-amazonka-auth, bookkeeping, bookkeeping-jp, borel, broccoli, bson, btree-concurrent, btrfs, buchhaltung, bugzilla, buildbox, buildwrapper, buster, buster-gtk, buster-network, bustle, bytes, bytestring-progress, bytestring-time, cabal-install, cabal-install-bundle, cabal-install-ghc72, cabal-install-ghc74, cabal-rpm, cabal2nix, cabal2spec, cached-io, campfire, canteven-http, canteven-log, canteven-parsedate, carbonara, carettah, carte, cartel, casr-logbook, casr-logbook-html, casr-logbook-reports, casr-logbook-reports-html, casr-logbook-types, cassandra-cql, cassy, cef, cereal-plus, certificate, cgi, chalkboard, chalkboard-viewer, chatty, chronologique, circlehs, citeproc-hs, cj-token, claferwiki, clanki, clash, clash-ghc, clash-lib, classy-influxdb-simple, classy-prelude, clckwrks, clckwrks-plugin-bugs, clckwrks-plugin-page, clippings, clogparse, cloudfront-signer, cloudi, codemonitor, codeworld-api, coin, coinbase-exchange, collada-output, complexity, composite-aeson, concrete-haskell, concurrent-dns-cache, concurrent-machines, conductive-base, conduit-find, config-manager, confsolve, connection-pool, consumers, continuum, continuum-client, control-event, control-timeout, convert, convertible, convertible-text, cookie, corebot-bliki, court, cql, cql-io, cqrs-postgresql, crawlchain, creatur, credentials, criterion, cron, cron-compat, crunghc, cryptsy-api, curlhs, dao, dapi, darcs, darcs-benchmark, darcs-graph, darcsden, darcswatch, darkplaces-rcon, darkplaces-rcon-util, data-default-generics, data-object, data-pprint, database-migrate, datadog, datasets, date-conversions, dates, datetime, datetime-sb, dawdle, dbm, dbmigrations, dbmigrations-mysql, ddate, ddc-build, ddc-driver, debian, debug-me, dedukti, definitive-filesystem, delay, delta, di, diagrams-pgf, dib, dicom, dictionaries, digestive-functors, dimensional-tf, direct-http, directory, directory-listing-webpage-parser, dirfiles, discogs-haskell, discord-rest, discord-types, discordian-calendar, distance-of-time, distributed-process, distributed-process-async, distributed-process-client-server, distributed-process-execution, distributed-process-extras, distributed-process-fsm, distributed-process-platform, distributed-process-registry, distributed-process-supervisor, distributed-process-task, dixi, dnscache, doc-review, docidx, docker, dockercook, doi, dresdner-verkehrsbetriebe, drifter-postgresql, dropbox-sdk, dropsolve, duckling, dynamic-cabal, dynamic-loader, dynamic-plot, dynobud, dyre, easy-file, ebeats, ec2-unikernel, ehs, ekg, ekg-bosun, ekg-carbon, ekg-cloudwatch, ekg-elastic, ekg-elasticsearch, ekg-influxdb, ekg-log, ekg-push, ekg-rrd, ekg-statsd, ekg-wai, elm-export, elm-hybrid, elm-init, elm-package, elm-reactor, email, email-header, emailparse, embeddock-example, env-locale, env-parser, envy, epass, etcd, ethereum-analyzer-webui, ethereum-client-haskell, eurofxref, eventstore, ex-pool, extemp, extra, extralife, ez-couch, failure-detector, family-tree, fay, fb, fb-persistent, fdo-trash, feature-flipper-postgres, feed, feed-cli, feed-collect, feed-gipeda, feed2lj, fernet, fibon, filediff, filestore, find-conduit, fixtime, flowdock-api, flowdock-rest, fluent-logger, fold-debounce, follower, format-status, formattable, formatting, fpco-api, free-http, free-theorems-webui, freesound, friendly-time, fsnotify, funbot, funsat, fuzzy-timings, gameclock, geek, gelatin, genvalidity-time, getemx, gf, ghc-mod, ghc-prof, ghc-time-alloc-prof, ghci-ng, ghcid, ghclive, ght, ginger, git-annex, git-date, git-fmt, git-gpush, git-monitor, git-repair, github, github-tools, github-types, gitit, gitlib, gitlib-cmdline, gitlib-libgit2, gitlib-s3, gitlib-test, gli, glirc, glome-hs, glue, glue-common, glue-core, glue-ekg, glue-example, gnome-keyring, gnss-converters, gnuplot, gogol, gogol-core, google-cloud, google-drive, google-html5-slide, google-mail-filters, google-oauth2-for-cli, google-search, googleplus, gore-and-ash, gore-and-ash-demo, gps, gps2htmlReport, gpx-conduit, graylog, greg-client, gridfs, groundhog, groundhog-inspector, groundhog-mysql, groundhog-postgresql, groundhog-th, group-by-date, gruff, gtk3, h-gpgme, hArduino, hGelf, hMollom, hOpenPGP, hack-contrib, hack-middleware-clientsession, hack2-contrib, hack2-contrib-extra, hackage-repo-tool, hackage-security, hackage-server, hackport, hadoop-tools, haggis, haha, hahp, hailgun, hails, hairy, hake, hakyll, hakyll-convert, hakyll-filestore, halfs, halive, handa-gdata, hans, hapistrano, happstack-authenticate, happstack-data, happstack-dlg, happstack-facebook, happstack-server, happstack-server-tls, happstack-server-tls-cryptonite, happstack-util, happybara, happybara-webkit, haroonga-httpd, harvest-api, hascar, hashable-orphans, hashable-time, haskdeep, haskell-aliyun, haskell-awk, haskell-cnc, haskell-gettext, haskell-pdf-presenter, haskell-platform-test, haskell-time-range, haskell-tor, haskell98, haskell98libraries, haskelldb, haskheap, haskmon, haskoin-core, haskoin-node, haskoin-wallet, haslo, hasloGUI, hasql-class, hasql-generic, hasql-migration, hasql-pool, hasql-postgres, hatex-guide, hawitter, haxl, haxl-facebook, haxr, hayland, hback, hbro, hbro-contrib, hcoap, hcron, hdbi, hdbi-postgresql, hdbi-tests, hdevtools, hdigest, hdo, hdph, headergen, hebrew-time, heckle, hedgehog, hedis, hedis-config, hedn, heist, helics, hell, hellnet, hemokit, herf-time, herringbone, herringbone-wai, hesh, heyefi, hgeometry, hi, hi3status, hiccup, hipbot, hipchat-hs, hircules, hissmetrics, hledger, hledger-chart, hledger-diff, hledger-iadd, hledger-interest, hledger-irr, hledger-lib, hledger-ui, hledger-vty, hledger-web, hlogger, hnormalise, hoauth, hoe, hog, hogg, hoggl, holy-project, hommage, hoodle-core, hoodle-extra, hoodle-render, hoogle, hoovie, hopenpgp-tools, hora, horizon, hosc, houseman, hp2any-core, hp2any-manager, hpage, hpaste, hpc, hpp, hpqtypes, hquantlib, hriemann, hs-di, hs-excelx, hs-pkpass, hs-vcard, hsbackup, hsbencher, hsbencher-codespeed, hsbencher-fusion, hsc3-process, hscamwire, hscrtmpl, hscuid, hsdev, hsdns-cache, hsebaysdk, hsexif, hsgsom, hslogger, hslogger-reader, hslogstash, hsmisc, hsoz, hspec-core, hspec-meta, hspec-slow, hsprocess, hstradeking, hsubconvert, hsyslog-udp, hszephyr, htar, htime, htoml, htsn-import, http-api-data, http-client, http-conduit-browser, http-conduit-downloader, http-kinder, http-test, hulk, hunt-searchengine, hunt-server-cli, husk-scheme, husky, hutton, hworker, hworker-ses, hxournal, hxt-cache, hydra-print, hydrogen-prelude, hydrogen-util, hzk, iCalendar, ical, ide-backend, ide-backend-server, ideas, idris, ig, imm, imperative-edsl, implicit-logging, imprevu, indieweb-algorithms, influxdb, informative, inliterate, inspector-wrecker, intel-aes, intero, intricacy, introduction-test, io-machine, io-streams, iptadmin, irc-client, irc-conduit, irc-core, irc-fun-bot, irc-fun-client, ircbot, iso8601-time, isobmff-builder, iterIO, iyql, japanese-holidays, jobqueue, jonathanscard, jose, jose-jwt, jsaddle, jsaddle-warp, json-feed, json-fu, json-schema, json-sop, json2, json2-hdbc, jsonresume, jsonschema-gen, jsonxlsx, jwt, kafka-client, kansas-comet, katip, katip-elasticsearch, keenser, keera-hails-reactive-yampa, keera-posture, keter, kevin, keysafe, keystore, kqueue, l10n, laborantin-hs, lambda-canvas, lambdabot-core, lambdabot-irc-plugins, lambdabot-misc-plugins, lambdabot-social-plugins, lambdacms-core, lambdacms-media, lambdacube-compiler, lambdacube-gl, lambdacube-samples, language-boogie, language-puppet, large-hashable, lat, leapseconds, leapseconds-announced, legion, legion-discovery, leksah, leksah-server, lens-datetime, lens-prelude, lens-time, lhc, libhbb, liblawless, libmolude, libmpd, libssh2, linden, line, linux-evdev, linx-gateway, lio-eci11, liquid-fixpoint, liquidhaskell, lit, liveplot, llsd, llvm-pretty-bc-parser, log-base, log-effect, log-elasticsearch, log-postgres, log-utils, log-warper, logger, logger-thread, logging, logging-effect, logplex-parse, logsink, lol-apps, loup, ltiv1p1, lucienne, macbeth-lib, machines-amazonka, majordomo, make-package, manatee-core, manatee-mplayer, mandrill, mandulia, mangopay, marquise, marvin, mathblog, matsuri, matterhorn, mattermost-api, mattermost-api-qc, maybench, mbox, mealstrom, mediabus, mediabus-fdk-aac, mediabus-rtp, medium-sdk-haskell, mellon-core, mellon-web, memcache, memcached-binary, memoization-utils, mersenne-random-pure64, metadata, metrics, microbench, microformats2-parser, microformats2-types, micrologger, microtimer, mighttpd, mighttpd2, mime-directory, mime-mail-ses, minecraft-data, minesweeper, minio-hs, minions, moesocks, mole, mollie-api-haskell, monad-time, monad-timing, mondo, mongoDB, monky, montage, montage-client, monzo, moo, moonshine, mps, mtgoxapi, mud, muesli, mushu, musicbrainz-email, mvclient, mwc-random, mysnapsession, mysnapsession-example, mysql-haskell, mysql-haskell-nem, mysql-simple, neil, nemesis, netease-fm, netlines, nettle-frp, netwire, network-api-support, network-bitcoin, network-carbon, network-metrics, network-minihttp, networked-game, newsynth, nikepub, nntp, nomyx-core, nomyx-language, nomyx-library, nomyx-server, nomyx-web, not-gloss, notmuch-haskell, notmuch-web, nptools, ntp-control, nvim-hs, nvim-hs-contrib, nylas, oauth10a, oauthenticated, octohat, ofx, oidc-client, omega, omnifmt, on-a-horse, one-time-password, opaleye, opaleye-sqlite, opench-meteo, opengles, openid, openssl-createkey, opentype, operational-extra, opml-conduit, options-time, optparse-generic, orchid, orgstat, osdkeys, osm-download, packdeps, pagerduty, pandoc, pandoc-citeproc, pansite, parallel-tasks, paranoia, parconc-examples, patat, path-io, path-pieces, paths, pathtype, patterns, paypal-adaptive-hoops, paypal-api, paypal-rest-client, pcap, pdfinfo, peakachu, penny, penny-lib, perdure, perfecthash, period, periodic, persistent, persistent-audit, persistent-mongoDB, persistent-mysql-haskell, persistent-odbc, persistent-postgresql, persistent-ratelimit, persistent-redis, persistent-sqlite, persistent-zookeeper, persona, persona-idp, pg, pg-store, pgdl, pgsql-simple, pgstream, phone-push, photoname, phybin, pia-forward, pinboard, pipes-files, pipes-rt, pivotal-tracker, plailude, plist-buddy, plivo, plots, pokitdok, pomodoro, pomohoro, postgresql-binary, postgresql-config, postgresql-connector, postgresql-orm, postgresql-query, postgresql-schema, postgresql-simple, postgresql-simple-bind, postgresql-simple-migration, postgresql-simple-queue, postgresql-typed, postgrest, postgrest-ws, postmark-streams, praglude, preamble, pregame, primula-board, process-progress, processing-for-haskell, progress, progress-reporting, prometheus-client, propellor, property-list, prove-everywhere-server, pseudomacros, pubnub, puffytools, pugs-compat, pulse, purescript, push-notify, pushbullet-types, pusher-haskell, pusher-http-haskell, pusher-ws, pushme, pushover, qif, quandl-api, quickbench, quickcheck-instances, rabocsv2qif, raft, random, raven-haskell, rbpcp-api, react-flux, react-tutorial-haskell-server, reactivity, rebase, reddit, redis-io, reenact, reflex-dom, reflex-dom-contrib, regex, regex-examples, relational-postgresql8, relational-query, relational-record-examples, relational-schemas, relative-date, remote, remotion, repa-scalar, repo-based-blog, req, resource-pool, resource-pool-catchio, respond, rest-example, restful-snap, rethinkdb, rethinkdb-client-driver, rethinkdb-wereHamster, riak, ridley, riemann, ripple, rl-satton, rlwe-challenges, robin, robots-txt, roshask, rotating-log, rss, rss-conduit, rss2irc, s3-signer, safecopy, safecopy-store, salvia, salvia-extras, salvia-sessions, schedevr, scholdoc, scholdoc-citeproc, scion, scope, scope-cairo, scotty-cookie, scotty-rest, scotty-session, scrobble, scrz, scyther-proof, sdl2-cairo, sdr, seacat, seakale-postgresql, second-transfer, selda, sensei, sensu-run, sentry, serv-wai, servant-auth-cookie, servant-auth-hmac, servant-auth-server, servant-auth-token, servant-auth-token-acid, servant-auth-token-leveldb, servant-auth-token-persistent, servant-auth-token-rocksdb, servant-csharp, servant-db-postgresql, servant-ekg, servant-examples, servant-pool, servant-pushbullet-client, servant-quickcheck, servant-subscriber, serversession, serversession-backend-persistent, serversession-backend-redis, serversession-frontend-snap, serversession-frontend-wai, serversession-frontend-yesod, ses-html, sgf, shake, shakespeare, shelduck, shellish, shelly, shentong, shine, shopify, show-please, shpider, si-clock, sigma-ij, simple-form, simple-log, simple-server, simple-tar, simpleirc, simplenote, simplex, skeleton, skemmtun, skype4hs, skypelogexport, slack, slack-api, sleep, smsaero, smtlib2-timing, snap, snap-core, snap-error-collector, snap-extras, snap-loader-dynamic, snap-server, snaplet-actionlog, snaplet-auth-acid, snaplet-hasql, snaplet-hdbc, snaplet-mongoDB, snaplet-persistent, snaplet-riak, snaplet-scoped-session, snaplet-sqlite-simple-jwt-auth, snaplet-typed-sessions, snaplet-wordpress, snmp, snowflake, source-code-server, spiros, splot, sprinkles, sproxy, sproxy2, spy, sql-simple-pool, sqlcipher, sqlite, sqlite-simple, sr-extra, sscan, stack, stack-run, stack-run-auto, stackage-build-plan, stackage-curator, stackage-types, statgrab, static-resources, stdf, stm-stats, stomp-patterns, stomp-queue, store, stratum-tool, stratux-types, streaming, strelka, stripe, stripe-core, stripe-tests, strive, strptime, sunlight, sunroof-server, supero, svndump, swagger, swagger2, swish, sync-mht, syncthing-hs, system-fileio, system-lifted, system-locale, system-time-monotonic, t3-server, ta, tablestorage, taffybar, tagged-timers, tai, tai64, takusen-oracle, tamarin-prover, tamarin-prover-theory, tamarin-prover-utils, tar, task, task-distribution, tasty-stats, tdd-util, teardown, tellbot, templatepg, tempo, tempodb, tensorflow-logging, test-framework, testloop, text-format, text-format-heavy, text-generic-pretty, text-show-instances, text-time, tf-random, th-typegraph, themoviedb, threads-supervisor, threadscope, throttled-io-loop, thyme, tidal, tidal-midi, tiempo, tighttp, time-cache, time-compat, time-extras, time-exts, time-http, time-io-access, time-lens, time-locale-compat, time-parsers, time-patterns, time-qq, time-recurrence, time-w3c, time-warp, timeconsole, timelens, timeless, timelike-time, timemap, timeout, timeparsers, timeplot, timerep, timeseries, timespan, timestamp-subprocess-lines, timestamper, timezone-olson, timezone-olson-th, timezone-series, timezone-unix, timing-convenience, tiny-scheduler, tkyprof, tls-debug, tls-extra, tn, todos, toilet, toml, toml-parser, top, touched, toysolver, tpar, tpb, tpdb, traildb, transient, transient-universe, tsession, tslib, tsne, tsparse, ttask, tttool, turtle, twentefp, twentyseven, twidge, twilio, twill, twitch, twitter, twitter-conduit, twitter-types, twitter-types-lens, type-structure, typed-wire-utils, tz, uacpid, uhc-util, ui-command, ulid, unix, unix-process-conduit, unjson, update-nix-fetchgit, uploadcare, ureader, users, users-mysql-haskell, users-persistent, users-postgresql-simple, uu-parsinglib, uuid, validity-time, varying, vaultaire-common, verify, vhd, vigilance, vimeta, vimus, vintage-basic, vivid, vk-aws-route53, vty-ui, wai-app-static, wai-devel, wai-extra, wai-handler-devel, wai-middleware-crowd, wai-middleware-hmac-client, wai-middleware-metrics, wai-middleware-prometheus, wai-middleware-rollbar, wai-middleware-static, wai-middleware-static-caching, wai-session, wai-session-alt, wai-session-mysql, wai-session-postgresql, wai-throttler, warc, watchdog, web-encodings, web-push, webapi, webdriver, webdriver-snoy, webserver, webwire, wikicfp-scraper, windowslive, wobsurv, wolf, workdays, wrecker, wreq, wreq-sb, wtk, wtk-gtk, wumpus-core, wx, wxcore, wxdirect, xing-api, xlsior, xlsx, xlsx-templater, xml-conduit-decode, xml-tydom-conduit, xmltv, xmobar, xorshift, xsd, y0l0bot, yahoo-finance-api, yampa-canvas, yeganesh, yesod-auth, yesod-auth-deskcom, yesod-auth-fb, yesod-auth-zendesk, yesod-bin, yesod-comments, yesod-core, yesod-crud-persist, yesod-form, yesod-goodies, yesod-job-queue, yesod-mangopay, yesod-newsfeed, yesod-paypal-rest, yesod-purescript, yesod-session-redis, yesod-sitemap, yesod-test, yesod-transloadit, yet-another-logger, yi-contrib, yi-core, yst, yxdb-utils, zampolit, zendesk-api, zip, zip-archive, zip-conduit, zip-stream, zoneinfo, zoom-cache, zre, ztail
comments powered byDisqus