GithubHelp home page GithubHelp logo

Comments (8)

bitwalker avatar bitwalker commented on May 8, 2024

For anyone that may want to help tackle this, if you find yourself making any code changes to the Timezone.* modules, ping me first.

from timex.

bbense avatar bbense commented on May 8, 2024

Looking at the code this probably is also a bug in to_days, although you'd need to look a lot harder to find a specific example.

from timex.

bbense avatar bbense commented on May 8, 2024

I made a first pass at this problem by writing a test that fails and a simple solution, however it seems to be causing problems in other code. Date.to_secs is fundamental to many other functions and I may be running into chicken and egg issues.

The code is here if you want to look, will keep plugging away as I have time.

https://github.com/bbense/timex/tree/Date_to_secs_bug_24

from timex.

bbense avatar bbense commented on May 8, 2024

This patch resolves the bug.

#32

No changes to the Timezone code were required, but other methods in Date required some reworking to adapt to the changes in to_secs.

from timex.

bitwalker avatar bitwalker commented on May 8, 2024

Merged and published as part of the 0.13.3 release. Thanks! Do you happen to know which functions specifically required rework? I can dig through and find out, but if you know offhand, then I can open a new issue to track that.

from timex.

bbense avatar bbense commented on May 8, 2024

Date.shift and Date.compare

On Fri, Jan 9, 2015 at 4:28 PM, Paul Schoenfelder [email protected]
wrote:

Merged and published as part of the 0.13.3 release. Thanks! Do you happen
to know which functions specifically required rework? I can dig through and
find out, but if you know offhand, then I can open a new issue to track
that.


Reply to this email directly or view it on GitHub
#24 (comment).

from timex.

bbense avatar bbense commented on May 8, 2024

Oh and Date.diff

On Fri, Jan 9, 2015 at 4:37 PM, Booker Bense [email protected] wrote:

Date.shift and Date.compare

On Fri, Jan 9, 2015 at 4:28 PM, Paul Schoenfelder <
[email protected]> wrote:

Merged and published as part of the 0.13.3 release. Thanks! Do you happen
to know which functions specifically required rework? I can dig through and
find out, but if you know offhand, then I can open a new issue to track
that.


Reply to this email directly or view it on GitHub
#24 (comment).

from timex.

bitwalker avatar bitwalker commented on May 8, 2024

@bbense Excellent, thank you sir! Might be a good place to start if you are looking for another issue to tackle. I'll cc you on it when I create it, you can decide whether you want to work that one or not.

from timex.

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.