summaryrefslogtreecommitdiff
path: root/db/const.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-11-15 00:54:33 +0100
committerHaru <haru@dotalux.com>2015-11-15 00:57:00 +0100
commit34037c40d28c9fe179d930949320090448b249e9 (patch)
tree3fe4d79c6185df4f165beae47cc3e7a286ce5af8 /db/const.txt
parent8ee5eafc741d581579efd696765fb0646b72a553 (diff)
downloadhercules-34037c40d28c9fe179d930949320090448b249e9.tar.gz
hercules-34037c40d28c9fe179d930949320090448b249e9.tar.bz2
hercules-34037c40d28c9fe179d930949320090448b249e9.tar.xz
hercules-34037c40d28c9fe179d930949320090448b249e9.zip
Fixed too-generic constant names of gettime() types
- Follow-up to 3bd77ffc0daca508352834add828766490075aee - The names were too generic (not namespaced), and were easily clashing with custom (and potential future official) constants or variables. - Constants are now prefixed with a 'GETTIME_' namespace: - GETTIME_SECOND - GETTIME_MINUTE - GETTIME_HOUR - GETTIME_WEEKDAY - GETTIME_DAYOFMONTH - GETTIME_MONTH - GETTIME_YEAR - GETTIME_DAYOFYEAR - Fixed some excessive (and some times incorrect) parentheses in various scripts using gettime(). - Updated documentation. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'db/const.txt')
-rw-r--r--db/const.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/db/const.txt b/db/const.txt
index 7b0b7c076..792f8f56e 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -3400,14 +3400,14 @@ MOUNT_DRAGON_BLUE 7
MOUNT_DRAGON_RED 8
// gettime( <param> )
-SECOND 1
-MINUTE 2
-HOUR 3
-WEEKDAY 4
-DAYOFMONTH 5
-MONTH 6
-YEAR 7
-DAYOFYEAR 8
+GETTIME_SECOND 1
+GETTIME_MINUTE 2
+GETTIME_HOUR 3
+GETTIME_WEEKDAY 4
+GETTIME_DAYOFMONTH 5
+GETTIME_MONTH 6
+GETTIME_YEAR 7
+GETTIME_DAYOFYEAR 8
// Weekday
SUNDAY 0