FreeBASIC  0.91.0
intl_gettimeformat.c
Go to the documentation of this file.
1 /* get short TIME format */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 int fb_IntlGetTimeFormat( char *buffer, size_t len, int disallow_localized )
7 {
8  if( fb_I18nGet() && !disallow_localized ) {
9  if( fb_DrvIntlGetTimeFormat( buffer, len ) )
10  return TRUE;
11  }
12  if( len < 9 )
13  return FALSE;
14  strcpy(buffer, "HH:mm:ss");
15  return TRUE;
16 }