opentiny / ng

Angular UI components library.
https://opentiny.design/tiny-ng
MIT License
106 stars 10 forks source link

[Feature]: DatetimeRange 日期时间范围希望能支持日期格式提示文本保持与参数一致 #24

Open Zoujinda opened 11 months ago

Zoujinda commented 11 months ago

What problem does this feature solve

1、https://opentiny.design/tiny-ng/components/datetimerange 原组件链接 2、在传入日期范围时间格式时,如: secondFormat: TiDatetimeFormat = { date: 'yyyy/MM/dd', time: 'HH:mm:ss' } 点击日期范围的组件,不输入时,提示文字是:YYYY/MM/DD,而不是参数中的'yyyy/MM/dd

What does the proposed API look like

placeholder或者直接根据参数进行placeholder的赋值

zh5099929 commented 9 months ago

你好,placeholder是根据国际化规范显示的,全都需要大写