Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.07 KB

File metadata and controls

44 lines (26 loc) · 1.07 KB

Time Duration Calculator CLI Tool

A command-line tool for calculating the duration between two times.

How to Install

To install the Time Duration Calculator CLI Tool, follow these steps:

  1. Clone the Repository:
    First, clone the repository to your local machine using the following command:

    git clone https://github.com/your-username/time-duration-calculator.git
    
  2. Navigate into the Project Directory:

    cd time-duration-calculator
    
  3. Install the Dependencies:

    pip install .
    
  4. Run the Tool:

    timediff 8:30 AM 10:22 PM
    

Features

  • Default to PM: Assumes PM is specified for both periods unless otherwise stated.

Upcoming Features

  • Case-Insensitive AM/PM Input: Will accept both uppercase and lowercase for AM/PM (e.g., 8:30 am or 8:30 AM).
  • Start/End Time Capture: Will provide an option to start a timer and later capture the end time, calculating the duration between them.

Example Usages

Basic Usage with AM/PM

python time_duration.py 8:30 AM 10:22 PM