GithubHelp home page GithubHelp logo

arbtt-stats --intervals UTC? about arbtt HOT 7 CLOSED

nomeata avatar nomeata commented on May 6, 2024
arbtt-stats --intervals UTC?

from arbtt.

Comments (7)

nomeata avatar nomeata commented on May 6, 2024

Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).


Indeed, it is UTC there. I guess that is mostly laziness on my part (I will have to pass the timezone down to the relevant function), but should be no problem. I’ll look into it; as I mentioned I’m currently traveling.

from arbtt.

nomeata avatar nomeata commented on May 6, 2024

Original comment by amenthes (Bitbucket: amenthes, GitHub: amenthes).


If it is always UTC, i am not at all against this. In that case, it would just need a notice in the docs. What i certainly would like to avoid would be "undefinedness" as in "you get some output, but you can't tell what exactly it is".

from arbtt.

nomeata avatar nomeata commented on May 6, 2024

Original comment by Michał J Gajda (Bitbucket: [Michal J. Gajda](https://bitbucket.org/Michal J. Gajda), ).


Fixed in my branch: https://bitbucket.org/mgajda/arbtt/commits/c69448224b29476b91456e3c844d979e6aae4a98

from arbtt.

nomeata avatar nomeata commented on May 6, 2024

Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).


This has been merged into master, and released in 0.10.1.

from arbtt.

nomeata avatar nomeata commented on May 6, 2024

Original comment by amenthes (Bitbucket: amenthes, GitHub: amenthes).


This is what I was afraid of. Now the worst of two combinations has happened (and this is the exact opposite of what this ticket was about):

a) it is still not documented what the expected format is (documentation has not changed).
b) the format of that output changed without advance notice from UTC to local timezone.

Additionally, there is no way to get back the old way, in case anyone depends on the specific output.

Did anyone test what happens to the output with regard to daylight savings time? Let's say I'm running this command in december (Where I am in UTC+01:00) and want to see intervals from september (where they have been recorded in UTC+02:00) what happens now? At least with UTC (and before merging this) it was consistently UTC.

from arbtt.

nomeata avatar nomeata commented on May 6, 2024

Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).


Dates are hard :-/

from arbtt.

nomeata avatar nomeata commented on May 6, 2024

Original comment by Michał J Gajda (Bitbucket: [Michal J. Gajda](https://bitbucket.org/Michal J. Gajda), ).


@Amenthes Is it another bug report, or rather documentation request?

from arbtt.

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.