Tk Library Source Code

View Ticket
Login
2021-11-13
12:40 Closed ticket [fa7e485702]: datefield with additional "-format" option to support Dates for German and ISO including MouseWheel-binding plus 6 other changes artifact: 02a51cf725 user: aku
2019-09-08
16:27
datefield with additional "-format" option to support Dates for German and ISO including MouseWheel-binding. Ticket [fa7e485702] check-in: 121f091d01 user: oehhar tags: trunk
2017-04-04
07:32 Ticket [fa7e485702] datefield with additional "-format" option to support Dates for German and ISO including MouseWheel-binding status still Open with 4 other changes artifact: c5e9911ea2 user: oehhar
07:26
datefield with additional "-format" option to support Dates for German and ISO including MouseWheel-binding. Ticket [fa7e485702] check-in: 5634c2dfd1 user: oehhar tags: rfe-fa7e485702
2017-04-03
19:58 Add attachment datefield.man to ticket [fa7e485702] artifact: 45b2250ad7 user: AdE@BfzPL
19:06 Ticket [fa7e485702] datefield with additional "-format" option to support Dates for German and ISO including MouseWheel-binding status still Open with 4 other changes artifact: 68fef1478d user: AdE@BfzPL
19:04 Add attachment datefield.tcl to ticket [fa7e485702] artifact: 4b2eae5134 user: AdE@BfzPL
19:02 New ticket [fa7e485702] datefield with additional "-format" option to support Dates for German and ISO including MouseWheel-binding. artifact: 63afef63f9 user: AdE@BfzPL

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: