gitwtfhub

wtf is daterangepicker?

overleaf/daterangepicker — explained in plain English

Analysis updated 2026-07-25 · repo last pushed 2020-05-29

JavaScriptAudience · developerComplexity · 2/5DormantSetup · moderate

TL;DR

A calendar popup for websites that lets users pick a start and end date in one interaction. It blends into sites using Bootstrap and supports date limits, translations, and optional time selection.

Mindmap

mindmap
  root((repo))
    What it does
      Popup calendar
      Start and end date
      Single date option
    Features
      Date range limits
      Multiple languages
      Custom date formats
      Optional time picker
    Tech stack
      JavaScript
      Bootstrap
      Moment.js
    Use cases
      Booking systems
      Dashboard filters
      Scheduling apps
    Audience
      Web developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Add a date range filter to a sales or analytics dashboard so users can pull up specific periods.

REASON 2

Build a hotel or appointment booking form where users select check-in and check-out dates from a popup calendar.

REASON 3

Create a scheduling app that lets users pick both a date and a specific time for an appointment.

REASON 4

Add a localized date picker to a website that supports multiple languages.

What's in the stack?

JavaScriptBootstrapMoment.js

How it stacks up

overleaf/daterangepicker00kaku/gallery-slider-block0xkinno/vellum
Stars0
LanguageJavaScriptJavaScriptJavaScript
Last pushed2020-05-292021-05-19
MaintenanceDormantDormant
Setup difficultymoderateeasyhard
Complexity2/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires Bootstrap for styling and the README is sparse, pointing to a separate documentation site for installation steps.

Wtf does this do

This project gives websites a polished date range picker, the kind of dropdown calendar where users can click a start date and an end date in one smooth interaction. If you've ever booked a hotel and selected your check-in and check-out dates from a little popup calendar, you've seen exactly what this component provides. It was originally built for a web analytics product called Improvely, which needed a clean way for users to pick date ranges when viewing reports. The component is designed to blend into sites that already use Bootstrap, a popular toolkit for building web pages. It pops up a calendar dropdown when a user clicks on a text field, lets them pick a range or a single date, and fills in the selection. Beyond basic date picking, it supports a handful of practical features: you can restrict how far back or forward someone can go, translate the labels into other languages, customize date formats, and optionally add time selection, useful for appointment or reservation booking. A web developer building a dashboard, booking system, or any application where users need to filter by date would use this. For example, someone creating a sales reporting tool might drop it in so users can quickly pull up "last 30 days" or a custom range. A scheduling app could use the time picker mode so users select both a date and a specific hour for an appointment. The project includes Moment.js, a widely used date-handling library, bundled right in for convenience. The README is sparse on technical setup details, it points to a separate documentation site for installation instructions and live examples rather than walking through configuration steps. The component's styling matches Bootstrap's default look, so it fits naturally into sites already built with that framework.

Yoink these prompts

Prompt 1
Help me integrate the daterangepicker into my Bootstrap website. I have a text input and I want the calendar popup to appear when a user clicks it, letting them pick a start and end date.
Prompt 2
I'm using the overleaf daterangepicker. How do I set minimum and maximum selectable dates so users can only choose dates within the last 90 days?
Prompt 3
Show me how to configure the daterangepicker to include time selection, so users can pick a specific hour and minute alongside a date for an appointment booking app.
Prompt 4
How can I change the date format and translate the button labels in the daterangepicker to display in a different language?

Frequently asked questions

wtf is daterangepicker?

A calendar popup for websites that lets users pick a start and end date in one interaction. It blends into sites using Bootstrap and supports date limits, translations, and optional time selection.

What language is daterangepicker written in?

Mainly JavaScript. The stack also includes JavaScript, Bootstrap, Moment.js.

Is daterangepicker actively maintained?

Dormant — no commits in 2+ years (last push 2020-05-29).

How hard is daterangepicker to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is daterangepicker for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.