GithubHelp home page GithubHelp logo

Date handling for GQL about gql HOT 4 CLOSED

ErisDS avatar ErisDS commented on July 17, 2024
Date handling for GQL

from gql.

Comments (4)

ErisDS avatar ErisDS commented on July 17, 2024 1

We can close this. It turns out dates do basically work and we use them in Ghost.

If we decide to improve this, we can always raise a new issue with a proper spec for what we want to improve.

from gql.

schuer avatar schuer commented on July 17, 2024

Just want to say I would love to see this feature coming :)
The other day I was about to set up an archives page and got stuck at bundling posts by year. Took me a while to find out it’s GQL missing the date features.

(Thx for you good work at Ghost and for spotting issues even before users run across them!)

from gql.

laran avatar laran commented on July 17, 2024

I implemented this here: laran@279f363

I called them 'transformers'. Basically callbacks which transform each value.

It's an extension of the work in #17. If that PR gets accepted the transformers can be merged in as well.

from gql.

kirrg001 avatar kirrg001 commented on July 17, 2024

@ErisDS Do you want to keep this issue? Let me know, then i will move it over to NQL πŸ™‚

from gql.

Related Issues (15)

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.