ionic-team / ionic-team/ionic-framework
feat: datetime, customize how "today" is calculated with grid buttons
- 主要語言
- TypeScript
- 星號
- 52.7k
- 分支
- 13.3k
- 平均合併
- 1 天 15 小時
- 30 天內合併 PR
- 51
描述
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already include this feature request, without success.
### Describe the Feature Request
If user has custom timezone (not the same as on device) we dont have ability to highlight the current day due to that timezone today
### Describe the Use Case
We need a property "timezone" which will render current date due to that timezone. It could be passed as UTC offset in minutes with negative or positive value. and based on that calendar will render proper current date
### Describe Preferred Solution
_No response_
### Describe Alternatives
_No response_
### Related Code
_No response_
### Additional Information
_No response_
貢獻指南
研究方向
The issue names datetime and grid buttons but provides no files, tests, or entry points. Start by locating the datetime component's current-day calculation and grid rendering, then determine how a timezone offset should affect the highlighted date and verify that behavior with focused tests.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- frontend
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100