#496 Date/Time Item Style in Grid doesn't seem to be used

v_5.0_Alpha
open-postponed
Owen Wengerd
None
5
2008-05-12
2008-05-09
KEP-DIGITAL
No

Hello,

bug report for http://www.opendcl.com/forum/index.php?topic=313.0.

Date/Time Item Style in Grid doesn't seem to be used

Note:For the style: 15 - Date, the last argument (nData1) that can be passed in is the identifying date format. 0 through 9 are the allowable arguments.

Note:For the style: 16 - Time, the last argument (nData1) that can be passed in is the identifying time format. 0 through 5 are the allowable arguments.

Regards,
Fred

Discussion

  • Owen Wengerd
    Owen Wengerd
    2008-05-12

    Logged In: YES
    user_id=1693773
    Originator: NO

    The original design for date and time formats was unworkable (it supported only a few fixed formats, and those were not localizable), which is why I never implemented the original system in the redesigned grid control. The only way to address this properly is to support a custom format string similar to the "file extensions" string for style 35. Until this is done, date and time formatting in grid controls will use the default system date and time formats, and any custom formatting must be done via event handler.

     
  • Owen Wengerd
    Owen Wengerd
    2008-05-12

    • assigned_to: nobody --> owenwengerd
    • status: open --> open-postponed