palantir/blueprint

Extend default shortcuts of date range picker with MTD and YTD

Open

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

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

倉庫指標

Star
 (20,263 star)
PR 合併指標
 (平均合併 43天 10小時) (30 天內合併 27 個 PR)

描述

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.

貢獻者指南