diff --git a/mods/remind.go b/mods/remind.go index 04feebc..c94e803 100644 --- a/mods/remind.go +++ b/mods/remind.go @@ -116,9 +116,9 @@ func remind_message(broker *tg.Broker, update tg.APIMessage) { _, todaym, todayd := time.Now().Date() _, targetm, targetd := timestamp.Date() if todaym != targetm || todayd != targetd { - whenday = "il " + timestamp.Format("2/1") + whenday = "il " + timestamp.In(loc).Format("2/1") } - whentime := "alle " + timestamp.Format("15:04:05") + whentime := "alle " + timestamp.In(loc).Format("15:04:05") broker.SendTextMessage(update.Chat, "Ok, vedrĂ² di avvisarti "+whenday+" "+whentime, &tg.MessageOptions{ ReplyID: &update.MessageID, })