Tk Library Source Code

View Ticket
Login
Ticket UUID: fa7e4857020c0688d2e8477c45841a8eac851871
Title: datefield with additional "-format" option to support Dates for German and ISO including MouseWheel-binding
Type: Patch Version: 0.2
Submitter: AdE@BfzPL Created on: 2017-04-03 19:02:10
Subsystem: tklib :: datefield Assigned To: aku
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2021-11-13 12:40:03
Resolution: Accepted Closed By: aku
    Closed on: 2021-11-13 12:40:03
Description:
Based on "datefield.tcl" by KPV from Feb 07, 2002 - initial revision
I give my propose for revision 0.3 (with no warranty etc.)
- support more keys and the mouse wheel
- add option -format to support 3 date-styles:
	"%d.%m.%Y" (for German)
	"%m/%d/%Y" (for English, standard/default)
	"%Y-%m-%d" (for ISO)
- each widget may have another format (stored on creation)
See the already coded file attached
It was successful tested under RedHat and Windows 7 & 10
with ActiveTCL 8.4.20.0, 8.5.18.0 and 8.6.4.1.
User Comments: aku added on 2021-11-13 12:40:03:
Merged in January 2020, released as part of Tklib 0.7 in February 2020.

oehhar added on 2017-04-04 07:32:44:

Thank you, Thomas, for the contribution. Proposed for testing in branch [5634c2dfd1].

Could another user please test the new version ?

Thank you, Harald


Attachments: