summaryrefslogtreecommitdiff
path: root/times.h
diff options
context:
space:
mode:
Diffstat (limited to 'times.h')
-rw-r--r--times.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/times.h b/times.h
index 38ed5e27..2cc0d7e4 100644
--- a/times.h
+++ b/times.h
@@ -34,7 +34,7 @@ inline bool is_valid_moment(const moment_t& moment) {
#endif // SUPPORT_DATE_AND_TIME
-extern moment_t& now;
+extern const moment_t& now;
DECLARE_EXCEPTION(datetime_exception);
@@ -78,9 +78,9 @@ inline moment_t parse_datetime(const string& str) {
return parse_datetime(str.c_str());
}
-extern ptime time_now;
-extern date date_now;
-extern bool day_before_month;
+extern const ptime time_now;
+extern const date date_now;
+extern bool day_before_month;
#if 0
struct intorchar