Coder Social home page Coder Social logo

icalavailable's Introduction

ICalAvailable

Given one or more calendars in iCalendar format, produces a textual summary of available times. This is useful for sending someone a list of acceptable times for a meeting, if you need to negotiate a meeting time via text rather than sharing a calendar.

Here is example output:

Tue Nov 17, 2020:
8:30am to 10:00am
12:45pm to 4:00pm

Wed Nov 18, 2020:
8:30am to 11:30am
1:00pm to 3:00pm
3:45pm to 4:15pm

Thu Nov 19, 2020:
8:30am to 10:00am
10:45am to 11:00am
12:45pm to 2:00pm
3:00pm to 5:00pm

You can provide command-line arguments to adjust the date range, indicate your working hours, provide times in multiple time zones, etc. Here is an example of output for multiple time zones:

Timezone: Pacific  [Timezone: Eastern]

Tue Nov 17, 2020:
8:30am to 10:00am   [11:30am to 1:00pm]
12:45pm to 4:00pm   [3:45pm to 7:00pm]

Wed Nov 18, 2020:
8:30am to 11:30am   [11:30am to 2:30pm]
1:00pm to 3:00pm    [4:00pm to 6:00pm]
3:45pm to 4:15pm    [6:45pm to 7:15pm]

Also see the ical-available Emacs function, which inserts the output of this program.

See API documentation.

icalavailable's People

Contributors

mernst avatar dependabot-preview[bot] avatar dependabot[bot] avatar neilccbrown avatar smillst avatar

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.