commit 719c97ebc59ed29120c1a033b1f18f89140cf114
parent b46a11f48c2426808fceb3e1de21e0e6cd1acf80
Author: Armin Preiml <apreiml@strohwolke.at>
Date: Sun, 23 Apr 2023 21:03:15 +0200
datetime: fix doc link
Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datetime/timezone.ha b/datetime/timezone.ha
@@ -7,7 +7,7 @@ use time::chrono;
// Creates an equivalent [[datetime]] with a different
// [[time::chrono::locality]].
//
-// The [[discontinuity]] rules from [[time::chrono::in]] apply here.
+// The [[time::chrono::discontinuity]] rules from [[time::chrono::in]] apply here.
export fn in(loc: chrono::locality, dt: datetime) (datetime | chrono::discontinuity) = {
return from_moment(chrono::in(loc, *(&dt: *chrono::moment))?);
};