+ {t("illness.timeline.error")} +
+ ) : !data ? ( ++ {t("illness.timeline.emptyToday")} +
+ ++ {t("illness.timeline.today", { + date: fmt.dateShort(`${data.date}T12:00:00`), + })} +
+ + {data.symptoms.length > 0 ? ( ++ {t("illness.timeline.noSymptoms")} +
+ )} + + {data.functionalImpact !== null ? ( ++ {t("illness.timeline.impact", { + impact: t(`illness.impact.${data.functionalImpact}`), + })} +
+ ) : null} + + {data.feverC !== null ? ( ++ {t("illness.timeline.fever", { + value: fmt.number(data.feverC, 1), + })} +
+ ) : null} + + {data.note ? ( ++ {data.note} +
+ ) : null} +- {t("illness.onsetOn", { date: fmt.dateShort(new Date(episode.onsetAt)) })} + +
+ {t("illness.onsetOn", { + date: fmt.dateShort(new Date(episode.onsetAt)), + })} {episode.resolvedAt ? ` · ${t("illness.recoveredOn", { date: fmt.dateShort(new Date(episode.resolvedAt)), })}` : ""}
- -+ {flareCount === 1 + ? t("illness.flares.countOne") + : t("illness.flares.countOther", { count: flareCount })} +
+{t("illness.disclaimer")}
{isLoading ? ( -