diff --git a/lib/Test.js b/lib/Test.js index d516c31..25d4a5f 100644 --- a/lib/Test.js +++ b/lib/Test.js @@ -117,6 +117,16 @@ class Test { ); } + get dateString() { + return this.date.toLocaleDateString('en-GB', { + timeZone: 'Europe/London', + weekday: 'long', + day: 'numeric', + month: 'numeric', + year: 'numeric' + }); + } + async getTestResults() { const sql = ` select