From 5e6e5c1096a8178f5a8d5621916b5b0317d6bc51 Mon Sep 17 00:00:00 2001 From: Louis Dalibard Date: Sun, 25 Aug 2024 14:43:46 +0200 Subject: [PATCH] fix: add JST suffix to warning time --- wolfx/wolfx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfx/wolfx.go b/wolfx/wolfx.go index c6bae3c..9e3f08d 100644 --- a/wolfx/wolfx.go +++ b/wolfx/wolfx.go @@ -140,7 +140,7 @@ func Listen() { warnareas += "\nWarnings issued for:" } for _, warnarea := range jmaeew.WarnArea { - warnareas += fmt.Sprintf("\n - %s (at %s) [Shindo %s / %s] [%s]", warnarea.Chiiki, warnarea.Time, warnarea.Shindo1, warnarea.Shindo2, warnarea.Type) + warnareas += fmt.Sprintf("\n - %s (at %s JST) [Shindo %s / %s] [%s]", warnarea.Chiiki, warnarea.Time, warnarea.Shindo1, warnarea.Shindo2, warnarea.Type) } alert_body := fmt.Sprintf("Epicenter: %s\nMagnitude %0.1f\nApproximately magnitude %0.1f at your location%s\n\nStrong shaking is expected soon.\nStay calm and seek shelter nearby.\n\nOrigin time: %s JST\nAnnouncement time: %s JST\nDepth: %dkm\nCoordinates: %0.1f, %0.1f\n\nSource: %s\nStatus: %s\n\n%s", jmaeew.Hypocenter, jmaeew.Magunitude, equivalentMagnitude, warnareas, jmaeew.OriginTime, jmaeew.AnnouncedTime, jmaeew.Depth, jmaeew.Latitude, jmaeew.Longitude, jmaeew.Issue.Source, jmaeew.Issue.Status, jmaeew.OriginalText) if config.Config.IssuePopup {