lamhieu commited on
Commit
96918c1
·
1 Parent(s): 2e58bca

chore: update something

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -63,9 +63,12 @@ You are a helpful and intelligent AI, developed by Ghost X and named Ghost 8B Be
63
  HEAD = """
64
  <script>
65
  function schedule_updates() {
66
- const client_info_element = document.querySelector("#client_info textarea");
67
- client_info_element.value = "The current time is " + new Date().toLocaleString('en-US', {weekday: 'short'});
68
- client_info_element.dispatchEvent(new Event('input'));
 
 
 
69
  }
70
 
71
  function bootstrap() {
 
63
  HEAD = """
64
  <script>
65
  function schedule_updates() {
66
+ const client_info_element = document.querySelector("#client_info textarea");
67
+ client_info_element.value = "The current time is " + new Date().toLocaleString('en-US', {
68
+ dateStyle: 'full',
69
+ timeStyle: 'long',
70
+ })
71
+ client_info_element.dispatchEvent(new Event('input'));
72
  }
73
 
74
  function bootstrap() {