Giter Site home page Giter Site logo

calendar.app-counter's Introduction

Calendar.app counter

Read, parse, count hours/days for a Calendar.app search list result

Here is a simple script I use to count some hours/days archived in Calendar.app

Doing that you will get something like this in you clip board.

Test Event
Scheduled: 03 Jul 2014 10:00 to 14:00

Test Event
Scheduled: 01 Jul 2014 08:00 to 12:00

Test Event
Scheduled: 02 Jul 2014 08:30 to 15:15

Note: You can see that result are not sorted by date, don't ask me why... But don't worry I take care of that.

Installation

$ git clone https://github.com/MoOx/Calendar.app-counter.git
$ cd Calendar.app-counter
$ npm i

Usage

Do you search, select result you want in the list on the right on Copy them. Then

$ ./parse-calendar.app-clipboard

01 Jul 2014: 4 hours done
02 Jul 2014: 6.75 hours done
03 Jul 2014: 4 hours done


Test Event time report between 01 Jul 2014 to 03 Jul 2014
Total hours: 14.75
Total days : 2.11 (7 hours per day)

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.