diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b2168c6..7e18621 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,9 +5,8 @@
-
-
+
@@ -48,7 +47,7 @@
-
+
1597348071361
@@ -281,7 +280,14 @@
1597589670240
-
+
+ 1597607090595
+
+
+
+ 1597607090595
+
+
@@ -307,17 +313,18 @@
-
+
+
-
+
-
+
diff --git a/app.js b/app.js
index bfe31ce..316b099 100644
--- a/app.js
+++ b/app.js
@@ -215,6 +215,26 @@ let kara = new Vue({
return false;
}
+ if (
+ this.includesAllOf(phrases, ['whats', 'the', 'time']) ||
+ this.includesAllOf(phrases, ['how', 'late'])
+ ) {
+ return "It's " + moment().format('LT');
+ }
+
+ if (
+ this.includesAllOf(phrases, ['what', 'day', 'it'])
+ ) {
+ return "It's " + moment().format('dddd') + ".";
+ }
+
+ if (
+ this.includesAllOf(phrases, ['what', 'date', 'it']) ||
+ this.includesAllOf(phrases, ['whats', 'the', 'date'])
+ ) {
+ return "It's " + moment().format('dddd') + ", " + moment().format('MMMM Do YYYY') + ".";
+ }
+
this.answers.forEach((answerOption) => {
if (answerOption.includeAll === true) {
if (