lamhieu commited on
Commit
1b1a431
·
1 Parent(s): a5b9863

chore: update something

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