Changes between Version 155 and Version 156 of Docs/825gen2/Dev/UpdatingLegacyApps


Ignore:
Timestamp:
11/19/25 13:13:20 (2 days ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/825gen2/Dev/UpdatingLegacyApps

    v155 v156  
    100100}}}
    101101
    102     //Some legacy apps may have database or other code that expects the 24-hour time preference. In this case it may be best to document that the indicator preference must be set for 24 hour time. It is also possible to check this upon application startup and provide an error message if the preference is 12 hour time. For example://
     102    //Some legacy apps may have database or other code that expects the 24-hour time preference. In this case it may be best to document that the indicator preference must be set for 24-hour time. It is also possible to check this upon application startup and provide an error message if the preference is 12-hour time. For example:
    103103   {{{#!c++
    104104if(((struct param_struct*)PARAM_ADDRESS)->datetime_pref.timefmt != 0) {
    105    DrawErrorBox("Preferences must be 24 hour time", 8);
     105   DrawErrorBox("Preferences must be set for 24-hour time", 8);
    106106   exit(0);
    107107}