Bug 821

Summary: Incorrect Time Display in the Main menu
Product: Hospital System Reporter: klhwong3-c
Component: Login SystemAssignee: klhwong3-c
Status: CONFIRMED ---    
Severity: critical CC: khsew2-c
Priority: ---    
Version: beta release   
Hardware: PC   
OS: Windows   

Description klhwong3-c 2023-12-08 22:09:09 HKT
Step to reproduce:

1. Log into the HMS.
2. Choose option 2 to 'Create new account'.
3. After successful account creation, the main menu displays with an incorrect time stamp at the bottom.

Screen dump:
--------------------------------------------------------
|   Welcome to the Hospital Management System (HMS)    |
|   Please select the following options:               |
|   1. Login                                           |
|   2. Create new account                              |
--------------------------------------------------------
2
checking admin command: 2
--------------------------------------------------------
|                 <Create new account>                 |
|   Please input username and password (separated by /)|
|   or enter 'q' to quit.                              |
--------------------------------------------------------
kenny/p@ssw0rd
checking admin command: kenny/p@ssw0rd
--------------------------------------------------------
|   Welcome to the Hospital Management System (HMS)    |
|   Please select the following options:               |
|   1. Make an appointment                             |
|   2. Take A&E treatment                              |
|   3. Check your sick history                         |
|   4. Check your current Ticket                       |
|   5. See Doctor                                                         |
|   6. Log out                                         |
--------------------------------------------------------
|   Current time: com.cs3343.group1.hospitalSystem.time.TimeSystem@448139f0