diff --git a/APIServer.exe b/APIServer.exe index 0ddf7fa..0a87bec 100644 Binary files a/APIServer.exe and b/APIServer.exe differ diff --git a/ews/ews.go b/ews/ews.go index b971703..01b8d2e 100644 --- a/ews/ews.go +++ b/ews/ews.go @@ -5,6 +5,7 @@ import ( "database/sql" "fmt" "log" + "time" _ "github.com/go-sql-driver/mysql" ) @@ -610,21 +611,23 @@ func (e *EWS) GetOfflineReport(cfg cnf.Cfg, logger *log.Logger, host string, add } func (e *EWS) SimpleMsgHTML(clr, msg string) string { + now := time.Now().Format("2006-01-02 15:04:05") resp := fmt.Sprintf(`
- + -