/time-since

Calculate datetime difference between two dates and/or times

Primary LanguageTypeScript

Time Since

Time Since app screenshot

View the app: Live Demo

Description

Simple web app built with React, Typescript, and Tailwind to calculate different units of time between two dates or times.

Features

  • Responsive design
  • Dark mode

Tech Stack

  • Vite
  • React
  • TypeScript
  • TailwindCSS

Getting Started

  1. Clone the repo: git clone https://github.com/blsmxiu47/time-since.git
  2. Install dependencies: npm install
  3. Run the app: npm run dev
  4. Open your browser to: http://localhost:5173

Dev TODOs

  • Add a RESET button to reset the start and end dates and times to the default values
  • Round time units or add a toggle to round time units
  • Add commas to large output numbers
  • Replace alert with error message modal or similar UI component