palantir/blueprint

Extend default shortcuts of date range picker with MTD and YTD

Open

#5 268 ouverte le 24 avr. 2022

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)TypeScript (2 167 forks)batch import
Domain: APIP2Package: datetimeType: enhancementhelp wanted

Métriques du dépôt

Stars
 (20 263 stars)
Métriques de merge PR
 (Merge moyen 43j 10h) (27 PRs mergées en 30 j)

Description

Environment

Package version(s): Latest Blueprint version Browser and OS versions: Latest Chrome version

Feature request

It would be great to extend the default shortcuts of the date range picker with the following options:

  • MTD: Month-to-date
  • YTD: Year-to-date

Examples

MTD: Today is April 24th, 2022. The month-to-date option would include the range from 01-04-2022 to 24-04-2022. YTD: Today is April 24th, 2022. The year-to-date option would include the range from 01-01-2022 to 24-04-2022.

Guide contributeur