GithubHelp home page GithubHelp logo

Comments (4)

nomeata avatar nomeata commented on May 5, 2024

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


Also valid, although I have to first find out how to actually get the locale information here.

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Original comment by Martin von Wittich (Bitbucket: martinvonwittich, GitHub: martinvonwittich).


I was just about to file a bug on https://github.com/nomeata/arbtt/issues, but luckily found this issue here before posting. (Which raises the question: which bug tracker is the right one? Having two at the same time is kinda confusing.)

Currently, the timestamp format of arbtt-stats --interval is inconsistent with the rest of arbtt; everything else seems to default to ISO8601 %Y-%m-%d:

martin@martin ~ % arbtt-stats --dump-samples 2>/dev/null | grep '^2021' | tail -n1
2021-06-01 18:41:39 (33ms inactive):
martin@martin ~ % arbtt-dump | grep '^2021' | tail -n1                            
2021-06-01 18:41:39 (33ms inactive):
martin@martin ~ % arbtt-stats --for-each day 2>/dev/null | grep 'Total time per tag' | tail -n1
Total time per tag (Day 2021-06-01)

IMO a quick fix that just changes the default format to `%Y-%m-%d` would be preferable until proper locale support can be implemented. I would even argue that the default text output of arbtt-stats doesn’t need to have an option for the timestamp format because it’s not supposed to be parsed anyway, but for --output-format tsv / csv it’s probably a different story :/

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

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


(Which raises the question: which bug tracker is the right one? Having two at the same time is kinda confusing.)

Yeah… I put this on Bitbucket at a time when Github wasn’t quite the monopoly yet, and I was hoping I could help with keeping the landscape diverse. But in practice, that didn’t quite work out. I should probably move the projects to Github completely.

I wounld’t mind a patch that make the time display consistent.

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Ok, migrated to Github. Hope you’ll find it here :-)

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.