GithubHelp home page GithubHelp logo

Comments (12)

cpjolicoeur avatar cpjolicoeur commented on June 2, 2024 1

@samcdavid Version 3.6.3 was released just now.

Thanks again for the help.

from torch.

cpjolicoeur avatar cpjolicoeur commented on June 2, 2024

@samcdavid I'm not sure I'm seeing the issue you are referring to. Do you have a minimal setup test case you can point me to? Maybe a sample base repo that is exhibiting the behavior you are describing?

from torch.

samcdavid avatar samcdavid commented on June 2, 2024

@cpjolicoeur sorry for the delay. Things over here have been hectic lately. Here is a link to the repo: https://github.com/samcdavid/torch_demo

This is a freshly generated phoenix project. The only changes that have been made are to install torch 3.6.1, use torch to generate a Blog context and Post model with title:string body:text publish_at:utc_datetime.

If you fire this up locally. Just set a start date and end date for publish at and you'll be able to recreate what I am seeing in that the dates move back one day after applying the filter.

from torch.

cpjolicoeur avatar cpjolicoeur commented on June 2, 2024

@samcdavid Can I ask what your timezone/locale is set to? It appears that the Pikaday.js library we use is not handling timezones properly when it initializes on datepicker fields. I'll look into a fix.

from torch.

samcdavid avatar samcdavid commented on June 2, 2024

For my system, I am using the date, time, and timezone that apple is detecting, which is Eastern Daylight Time

from torch.

cpjolicoeur avatar cpjolicoeur commented on June 2, 2024

Thanks. Just wanted to confirm you weren't using UTC. I'll take a look at a fix for this. We'll have to patch the Pikaday lib a a bit I think.

from torch.

cpjolicoeur avatar cpjolicoeur commented on June 2, 2024

@samcdavid Any chance you can pull from this branch cpj/bug_issue_241 in your mix.exs to test the fix there before I merge it and cut an official release?

Would just love to get another set of eyes, and have you confirm this fixes the issue you are seeing before I release.

from torch.

samcdavid avatar samcdavid commented on June 2, 2024

I'm still seeing the behavior.

from torch.

cpjolicoeur avatar cpjolicoeur commented on June 2, 2024

Just to confirm, you are seeing the behavior even after updating your mix.exs file to pull directly from this torch branch. I still see {:torch, "3.6.1"} in the demo repo you linked to earlier.

from torch.

samcdavid avatar samcdavid commented on June 2, 2024

Yeah, sorry I didn't push that one up. I have {:torch, github: "mojotech/torch", branch: "cpj/bug_issue_241"} in my mix.exs.

from torch.

samcdavid avatar samcdavid commented on June 2, 2024

@cpjolicoeur I just tested it again and it is fixed. 🤦‍♂️ Before I had just refreshed a tab that I already had open. When tested appropriately, it actually works. My apologies.

from torch.

cpjolicoeur avatar cpjolicoeur commented on June 2, 2024

@samcdavid ahh, thanks for confirming. I'll merge and cut a new official release and comment back here when it's ready.

Thanks for the report and help on this 👍

from torch.

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.