Tk Library Source Code

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.
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:
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: 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: