Coder Social home page Coder Social logo

nikoheikkila / hours Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 71 KB

A command-line companion for the Toggl Track software. Check the README for supported features.

Home Page: https://pkg.go.dev/github.com/nikoheikkila/hours

License: MIT License

Makefile 0.79% Go 99.21%
cli golang hours toggl

hours's Introduction

Photo by Nik Owens on Unsplash

How Do You Do, Fellow Devs? πŸ¦„

Oh, don't mind the pizza there, but I hope you're hungry now.

I’m a software craftsman and engineer with a strong passion for making work and life better for other software engineers. You can read my thoughts in long-form from my blog, newsletter, or in bytesize format from Mastodon.

πŸ’» Interesting Links

πŸ“œ Recent Blog Entries

πŸ‘· Recent Contributions

πŸ§™β€β™‚οΈ Recent Gists

πŸ“§ How to Reach Me?

At the moment, I'm not looking for work so leave those messages unsent. If you seek advice in modern software engineering, architecture, agile methods, or similar areas I am skilled in, then drop me a message and I'll reply in a couple of days.


Check my projects below and leave a star if you find anything interesting. πŸ‘‡

hours's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

hours's Issues

Validate `--since` and `--until` flags to be valid RFC 3339 strings

Reproduce

hours --since 20-04-04

Actual Result

The parameter is passed directly to the API.

request failed with status 400 and message: 'Date since=20-04-04 is not within allowed bounds (2006-01-01 to 2030-01-01), please check Change your request and try again. Please refer to API documentation at https://github.com/toggl/toggl_api_docs if you need additional help'

Expected Result

Don't send the API request. Fail the command gracefully and inform the user about the invalid parameter(s). Finally, set exit code to non-zero.

validation error: given date <value> is not a valid RFC 3339 string (use the format YYYY-MM-DD)

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.