dify/web/app/components/base/date-and-time-picker
lyzno1 4dfb8b988c
feat(time-picker): add showTimezone prop with comprehensive tests
- Add showTimezone prop to TimePickerProps for optional inline timezone display
- Integrate TimezoneLabel component into TimePicker when showTimezone=true
- Add 6 comprehensive test cases covering all showTimezone scenarios:
  * Default behavior (no timezone label)
  * Explicit disable with showTimezone=false
  * Enable with showTimezone=true
  * Inline prop correctly passed
  * No display when timezone is missing
  * Correct styling classes applied
- Update trigger-schedule panel to use showTimezone prop
- All 15 tests passing with good coverage
2025-10-13 17:28:39 +08:00
..
calendar [Chore/Refactor] Add missing 'type' attribute on 'button' components (#26249) 2025-09-28 13:43:43 +08:00
common fix: type error in list-operator (#22803) 2025-07-24 12:21:20 +08:00
date-picker Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-30 08:00:16 +08:00
time-picker feat(time-picker): add showTimezone prop with comprehensive tests 2025-10-13 17:28:39 +08:00
utils fix(timezone): fix UTC offset display bug and add timezone labels 2025-10-13 17:28:39 +08:00
year-and-month-picker [Chore/Refactor] Add missing 'type' attribute on 'button' components (#26249) 2025-09-28 13:43:43 +08:00
hooks.ts feat: refactor date-and-time-picker to use custom dayjs utility and add timezone support (#15101) 2025-03-06 16:24:03 +08:00
types.ts feat(time-picker): add showTimezone prop with comprehensive tests 2025-10-13 17:28:39 +08:00