ionic-team / ionic-team/ionic-framework

feat: Option to show calendar week in ion-datetime component

未关闭
#23,569 3 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
package: core type: feature request v6
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

# Feature Request

**Ionic version:**

[ ] **4.x**
[ ] **5.x**
[x] **6.x**

**Describe the Feature Request**
It would be useful to have the option to show the calendar weeks in the ion-datetime component. Not sure how it is in the US, but in Europe it's quiet common for specific industries to work with calendar weeks.

Similar to this:

![Screenshot 2021-07-02 at 10 00 51](https://user-images.githubusercontent.com/23264228/124241924-80b75d80-db1c-11eb-90f3-86bb7afa1e4a.png)

**Describe Preferred Solution**
It probably would make sense to just turn the calendar weeks on via a property like ``

**Describe Alternatives**
Any solution, which renders the calendar week into the ion-datetime component would be cool.

贡献指南

打开贡献指南

调研方向

Start with the ion-datetime component and its documented API; compare the requested calendar-week display with the attached example and existing date behavior. Done means the component can optionally render calendar weeks through a public property, with the behavior matching the requested presentation.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
frontend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。