@orgin
Quote:
"Yes, works here. Only minor quibble is that mins/secs separator is a "." instead of a ":", as you expected. Could you copy the hour/mins separator?"
Sure, until people with "hh:mm.ss" notation starts to complain ;)
Here are the date and time formats from my system.
locale->loc_DateTimeFormat %A %e %B %Y %H:%M
locale->loc_DateFormat %A %e %B %Y
locale->loc_TimeFormat %H:%M:%S
locale->loc_ShortDateTimeFormat %d/%m/%Y %H:%M
locale->loc_ShortDateFormat %d/%m/%Y
locale->loc_ShortTimeFormat %H:%M
obtained with
if(locale = ILocale->OpenLocale(NULL));
{
printf("locale->loc_DateTimeFormat %s\n",locale->loc_DateTimeFormat);
printf("locale->loc_DateFormat %s\n",locale->loc_DateFormat);
printf("locale->loc_TimeFormat %s\n",locale->loc_TimeFormat);
printf("locale->loc_ShortDateTimeFormat %s\n",locale->loc_ShortDateTimeFormat);
printf("locale->loc_ShortDateFormat %s\n",locale->loc_ShortDateFormat);
printf("locale->loc_ShortTimeFormat %s\n",locale->loc_ShortTimeFormat);
localeinfo.li_ILocale=ILocale;
localeinfo.li_Catalog=ILocale->OpenCatalogA(NULL,"diary.catalog",NULL);
}
BTW when I select locale in date string it displays in ShortDateTime formate based on the above.
The ideal (for me) would be ShortDateForat followed by TimeFormat. ie a combination of the two.
I much prefer the look of the locale date format over the other options available, but seconds are the more important bit of info.