Home
last modified time | relevance | path

Searched refs:use_ampm (Results 1 – 4 of 4) sorted by relevance

/dragonfly/usr.bin/w/
H A Dpr_time.c68 (void)strcpy(fmt, use_ampm ? "%a%I%p" : "%a%H"); in pr_attime()
73 (void)strcpy(fmt, use_ampm ? "%l:%M%p" : "%k:%M"); in pr_attime()
H A Dextern.h34 extern int use_ampm;
H A Dw.c86 int use_ampm; /* use AM/PM time */ variable
136 use_ampm = (*nl_langinfo(T_FMT_AMPM) != '\0'); in main()
452 use_ampm ? "%l:%M%p" : "%k:%M", in pr_header()
/dragonfly/bin/ps/
H A Dprint.c419 static int use_ampm = -1; in started() local
421 if (use_ampm < 0) in started()
422 use_ampm = (*nl_langinfo(T_FMT_AMPM) != '\0'); in started()
434 use_ampm ? "%l:%M%p" : "%k:%M ", tp); in started()
437 use_ampm ? "%a%I%p" : "%a%H ", tp); in started()