summaryrefslogtreecommitdiff
path: root/oracles/time.php
diff options
context:
space:
mode:
Diffstat (limited to 'oracles/time.php')
-rw-r--r--oracles/time.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/oracles/time.php b/oracles/time.php
index 57af093..954bc60 100644
--- a/oracles/time.php
+++ b/oracles/time.php
@@ -8,7 +8,7 @@ class time extends oracle {
$prompts = [
"what", "time", "is", "it",
"right", "now", "the", "current",
- "get"
+ "get", "date"
];
$q = str_replace(",", "", $q);
$q = str_replace("?", "", $q);
@@ -37,6 +37,7 @@ class time extends oracle {
date_default_timezone_set($timezone);
return [
"The time in ".$timezone => date("H:i:s"),
+ " " => date("l, F jS"),
"" => "include the string \"tz:XXX\" to use timezone XXX"
];
}