Avvertenze modificate.
parent
15302f08e6
commit
bc1a64c248
|
@ -80,10 +80,10 @@ func buildExpiryNote(validUntil time.Time) string {
|
||||||
local := validUntil.In(loc)
|
local := validUntil.In(loc)
|
||||||
remaining := local.Sub(now)
|
remaining := local.Sub(now)
|
||||||
if remaining <= 0 {
|
if remaining <= 0 {
|
||||||
return fmt.Sprintf("ATTENZIONE: la quotazione dei costi è scaduta il %s. Non fare lo swap dopo questa data.",
|
return fmt.Sprintf("ATTENZIONE: la quotazione dei costi è scaduta il %s. Dopo questa data, i costi potrebbero cambiare.",
|
||||||
local.Format("2006-01-02 15:04:05 MST"))
|
local.Format("2006-01-02 15:04:05 MST"))
|
||||||
}
|
}
|
||||||
return fmt.Sprintf("La quotazione dei costi è valida sino a %s (≈ %s restanti). Non fare lo swap dopo questa data.",
|
return fmt.Sprintf("La quotazione dei costi è valida sino a %s (≈ %s restanti). Dopo questadata, i costi potrebbero cambiare.",
|
||||||
local.Format("2006-01-02 15:04:05 MST"), humanDuration(remaining))
|
local.Format("2006-01-02 15:04:05 MST"), humanDuration(remaining))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue