diff options
| author | lolcat <will@lolcat.ca> | 2023-10-07 00:21:39 -0400 |
|---|---|---|
| committer | lolcat <will@lolcat.ca> | 2023-10-07 00:21:39 -0400 |
| commit | fa9dc4d6efc593b7301229c18b058d90024c939e (patch) | |
| tree | 356c4d8a5b427e62740ea6b7524bf88e27d23c29 /oracles/time.php | |
| parent | e188ba6114f86e5a86fb79d2ac16353c159eb738 (diff) | |
| parent | f42b3a487957f4b82bea79e8ac3cb8eae37413a0 (diff) | |
Merge branch 'master' of https://git.lolcat.ca/lolcat/4get
Diffstat (limited to 'oracles/time.php')
| -rw-r--r-- | oracles/time.php | 3 |
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" ]; } |
