projects
/
sysstatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change named colors to hex values
[sysstatus.git]
/
src
/
status
/
datetime.c
diff --git
a/src/status/datetime.c
b/src/status/datetime.c
index d7d9d0a4e78407c3daf2f8310dd03c51e29e75bb..304b858fb8b9e41e65d81152256525454bdd86f9 100644
(file)
--- a/
src/status/datetime.c
+++ b/
src/status/datetime.c
@@
-19,7
+19,7
@@
void status_datetime(GlobalData *g)
nows = time(NULL);
if (nows == ((time_t) -1)) {
nows = time(NULL);
if (nows == ((time_t) -1)) {
- s.color = "
red";
+ s.color = "
#FF0000"; // red
s.text = "ERROR: DATETIME";
line_append_item(g, &s);
s.text = "ERROR: DATETIME";
line_append_item(g, &s);
@@
-35,7
+35,7
@@
void status_datetime(GlobalData *g)
);
line_append_item(g, &s);
);
line_append_item(g, &s);
- s.color = "
grey";
+ s.color = "
#BEBEBE"; // grey
snprintf(text, sizeof(text),
"%d:%.2d"
#ifdef SHOW_SECONDS
snprintf(text, sizeof(text),
"%d:%.2d"
#ifdef SHOW_SECONDS