palantir/blueprint

Extend default shortcuts of date range picker with MTD and YTD

Open

#5,268 建立於 2022年4月24日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)TypeScript (20,263 star) (2,167 fork)batch import
Domain: APIP2Package: datetimeType: enhancementhelp wanted

描述

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.

貢獻者指南

Extend default shortcuts of date range picker with MTD and YTD · palantir/blueprint#5268 | Good First Issue