Permalink
Commits on May 4, 2015
  1. Version bump

    committed May 4, 2015
Commits on Apr 10, 2015
  1. Merge pull request #12 from wereHamster/ghc-7.10

    Add support for GHC 7.10
    committed Apr 10, 2015
Commits on Jan 13, 2015
  1. Add Travis file

    committed Jan 13, 2015
  2. Move HUnit tests to HSpec

    committed Jan 13, 2015
  3. Restructure project

    - Update cabal file
    - Add src/test directories
    - Remove module header info (duplicates cabal file)
    - Create pending Hspec tests
    committed Jan 13, 2015
  4. Merge pull request #7 from league/master

    Support "from now" for future dates
    committed Jan 13, 2015
Commits on Aug 18, 2014
  1. Merge pull request #8 from league/tz

    Allow configuration of time zone
    committed Aug 18, 2014
Commits on Aug 17, 2014
  1. Allow configuration of time zone

    Sometimes we resort to printing the time with the day of week, as in
    "3:50 PM on Sunday". Previously, those times always used UTC. Now you
    can specify a `timeZone` in the `HumanTimeLocale` (default is still
    `utc`).
    
    Includes two new test cases (with two different time zones).
    league committed Aug 17, 2014
Commits on Aug 15, 2014
  1. Support "from now" for future dates

    Unfortunately, this breaks the `HumanTimeLocale` interface for I18N,
    because many of the functions take a `Bool` to specify whether the date
    is in the future.
    league committed Aug 15, 2014
Commits on Sep 2, 2013
  1. Version bump

    committed Sep 2, 2013
  2. Merge pull request #5 from lubomir/better-at

    Allow for multiple implementations of at
    committed Sep 2, 2013
  3. Merge pull request #4 from lubomir/add-tests

    Add tests for English rendering
    committed Sep 2, 2013
Commits on Sep 1, 2013
  1. Allow for multiple implementations of at

    This helps with translating to languages that use different prepositions
    for different days. E.g. Czech needs to use "ve" for Wednesday and
    Thursday, but "v" for all other days.
    lubomir committed Sep 1, 2013
  2. Add tests for English rendering

    This commit also bumps required version of cabal to 1.8, which does not
    choke on the test-suite section. However, to run the tests, at least
    1.10 is required.
    lubomir committed Aug 4, 2013
Commits on Aug 19, 2013
  1. Merge pull request #3 from lubomir/format-in-locale

    Move format strings to HumanTimeLocale
    committed Aug 19, 2013
Commits on Aug 3, 2013
  1. Move format strings to HumanTimeLocale

    This change makes it easier to create locales for different languages,
    as it enables one to e.g. use "Day Month" instead of "Month Day".
    lubomir committed Aug 3, 2013
Commits on Oct 23, 2012
  1. version bump

    committed Oct 23, 2012
  2. whitespace cleanup

    committed Oct 23, 2012
  3. Merge pull request #2 from Tarrasch/master

    Finalize localization support
    committed Oct 23, 2012
  4. Merge pull request #1 from hfox/master

    initial localization support
    committed Oct 23, 2012
Commits on Oct 22, 2012
  1. Improve i18n

      * More approachable export list
      * Don't change the signatures of the old functions, instead add new
        functions with the I18N suffix.
      * More readable, efficient and haskell stylish implementation
    Tarrasch committed Oct 22, 2012
  2. Initial attempt at localization support.

    Ugliest attempt ever.
    hfox committed Oct 22, 2012
Commits on Apr 14, 2012
  1. fix cabal file

    committed Apr 14, 2012
Commits on Apr 13, 2012