projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
if the graph goes 'down' minval must be hanged instead
[rrdtool.git]
/
src
/
strftime.c
diff --git
a/src/strftime.c
b/src/strftime.c
index
3fb860f
..
c57a726
100644
(file)
--- a/
src/strftime.c
+++ b/
src/strftime.c
@@
-17,6
+17,13
@@
#include <time.h> /* for struct tm */
#include "strftime.h"
#include <time.h> /* for struct tm */
#include "strftime.h"
+/* Define your own defaults in config.h if necessary */
+#if defined(TZNAME_STD) && defined(TZNAME_DST)
+char *tzname_[2] = {TZNAME_STD, TZNAME_DST};
+#else
+#define tzname_ tzname
+#endif
+
static char *aday[] = {
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
};
static char *aday[] = {
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
};
@@
-36,8
+43,6
@@
static char *month[] = {
"July", "August", "September", "October", "November", "December"
};
"July", "August", "September", "October", "November", "December"
};
-char *tzname_[2] = {"CST", "CDT"}; /* Add your own defaults here */
-
static char buf[26];
static void strfmt(char *str, const char *fmt, ...);
static char buf[26];
static void strfmt(char *str, const char *fmt, ...);