commit c27efbb78bb9f42277ca37eacf7d1166308b1a4d
parent 39d3505466dcb634e6ce67373035d2c5589ea6e8
Author: Byron Torres <b@torresjrjr.com>
Date: Mon, 16 May 2022 17:23:38 +0100
time::chrono: improve invalidtzif error string
Signed-off-by: Byron Torres <b@torresjrjr.com>
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/time/chrono/tzdb.ha b/time/chrono/tzdb.ha
@@ -21,8 +21,7 @@ export type error = !(fs::error | io::error | invalidtzif);
export fn strerror(err: error) const str = {
match (err) {
case invalidtzif =>
- // TODO: Improve error string.
- return "Invalid TZif data in time zone";
+ return "Invalid TZif data";
case let err: fs::error =>
return fs::strerror(err);
case let err: io::error =>