Modify ↓
Opened 14 years ago
Closed 14 years ago
#1666 closed Bug (Fixed)
Format conflict for date control And GUICtrlSetData()
Reported by: | GEOSoft | Owned by: | Jpm |
---|---|---|---|
Milestone: | 3.3.7.0 | Component: | AutoIt |
Version: | 3.3.6.0 | Severity: | None |
Keywords: | Cc: |
Description (last modified by Jpm)
If you create a date control using the $DTS_SHORTDATEFORMAT and try to store it in an ini file the format is opposite to what is required to set the date later
GUICreate("Demo") $Date = GUICtrlCreateDate("", 10, -1, 150,25,$DTS_SHORTDATEFORMAT) $sCurrDate = GUICtrlRead($Date) GUICtrlSetData($sCurrDate);; Oooops MsgBox(0, "TEST", $sCurrDate)
$sCuuDate will be in the format dd/mm/yyyy and GUICtrlSetData(for a date control) clearly states that it must be in the format yyyy/mm/dd
Attachments (0)
Change History (2)
comment:1 Changed 14 years ago by Jpm
- Description modified (diff)
comment:2 Changed 14 years ago by Jpm
- Milestone set to 3.3.7.0
- Owner set to Jpm
- Resolution set to Fixed
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
Fixed by revision [5865] in version: 3.3.7.0