GithubHelp home page GithubHelp logo

Comments (11)

hojgr avatar hojgr commented on August 22, 2024

Just run into the same issue. Have you found any solution to this?

from haskell.

topher6345 avatar topher6345 commented on August 22, 2024

No I still haven't

from haskell.

hojgr avatar hojgr commented on August 22, 2024

I managed to solve it yesterday by installing package old-time
cabal install old-time

from haskell.

kytrinyx avatar kytrinyx commented on August 22, 2024

/cc @etrepum would you mind taking a look at this? Maybe there's something we could add to the documentation to help unstick people on this point.

from haskell.

hojgr avatar hojgr commented on August 22, 2024

I am just learning haskell, but wouldnt it just be better to use a time library included with Haskell Platform by default? The old-time seems to be deprecated (it has old in it :) )

from haskell.

kytrinyx avatar kytrinyx commented on August 22, 2024

That sounds reasonable, I just don't know if there's some other intended approach to all of this.

from haskell.

NobbZ avatar NobbZ commented on August 22, 2024

The interface used in the tests, has been around in Plattform quite a long time, at least a decade. This was also current when the track got its last update to a current version of Plattform/GHC.

I don't know why it has been removed or deprecated from Plattform last year, but I do see, that xhaskells maintainers are very silent.

Perhaps someone with enough knowledge and time can take the track over?

from haskell.

kytrinyx avatar kytrinyx commented on August 22, 2024

Perhaps someone with enough knowledge and time can take the track over?

Yes, that would be excellent. I'll reach out to some folks over the next few weeks.

from haskell.

hbarney avatar hbarney commented on August 22, 2024

I made the test file compile by removing the import for System.Locale and adding iso8601DateFormat to the import for Data.Time.Format.
import Data.Time.Format (TimeLocale, ParseTime, parseTimeOrError, defaultTimeLocale, iso8601DateFormat)

It seems to work fine then.

from haskell.

daniloisr avatar daniloisr commented on August 22, 2024

Thanks @hbarney! Your tip worked for me:

I made the test file compile by removing the import for System.Locale and adding iso8601DateFormat to the import for Data.Time.Format.

I also opened a PR fixing this #96

@etrepum can you take a look? 😄

from haskell.

kytrinyx avatar kytrinyx commented on August 22, 2024

I went ahead and merged it. If there's a better approach, let's discuss!

from haskell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.