Tk Library Source Code

View Ticket
Bounty program for improvements to Tcl and certain Tcl packages.
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: [email protected] Created on: 2017-04-03 19:02:10
Subsystem: tklib :: datefield Assigned To: aku
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2017-04-04 07:32:44
Resolution: None Closed By: nobody
    Closed on:
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, and
User Comments: 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