* Get locale specific time based on whether we are in test mode
(system)
| 122735 | * Get locale specific time based on whether we are in test mode |
| 122736 | */ |
| 122737 | function getLocaleTimeString(system) { |
| 122738 | return !system.now ? |
| 122739 | new Date().toLocaleTimeString() : |
| 122740 | system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }); |
| 122741 | } |
| 122742 | ts.getLocaleTimeString = getLocaleTimeString; |
| 122743 | /** |
| 122744 | * Create a function that reports watch status by writing to the system and handles the formatting of the diagnostic |
no test coverage detected