mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-31 02:08:03 +01:00
* Create POC of DatePicker * Move DatePicker to dialog * Move DatePicker to separate view * Support user specified date format * Added code documentation for public API * Select day on calendar based on currently selected date * Add new constuctors for DatePicker * Fix constructors * Add month navigation buttons * Added support for user to specify a range of years in the calendar * Update default format date in unit tests * Add some more unit tests * Improve UICatalog DatePicker example * Change default date format to CultureInfo.CurrentCulture * Address code review comments * Fix DatePicker height and width * Fix crashes on 'Esc' key during open combobox * Add DatePicker to localizable strings * Generate calendar labels based on current culture * Replace Month enum with localized DateTime month names * Remove setting culture to polish (used for test purposes) * Prevent choosing not existing day from calendar * Update DatePicker layout * Handle year out of range * Make DatePicker standalone view and simplfy code and component look * Handle clicking on no exisitng days in calendar * Add missing rows to calendar * Update example in UICatalog * Dispose SubViews of DatePicker * Add case for DatePicker --------- Co-authored-by: Tig <tig@users.noreply.github.com>
Automated Unit Tests
Terminal.Gui uses xunit for automated unit tests run automatically with Github Actions.
See the Testing wiki for details on how to add more tests.