From 87786d13131b1e2f2b80435860e82c0cd81d73bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 30 Nov 2006 10:44:54 +0100 Subject: [PATCH] Fixed hour formatting for format_smtp(). Rev: lib/modules/Calendar.pmod/Time.pmod:1.37 --- lib/modules/Calendar.pmod/Time.pmod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/modules/Calendar.pmod/Time.pmod b/lib/modules/Calendar.pmod/Time.pmod index c90b4fa2be..d179427c76 100644 --- a/lib/modules/Calendar.pmod/Time.pmod +++ b/lib/modules/Calendar.pmod/Time.pmod @@ -245,12 +245,12 @@ class TimeofDay } } - cSecond beginning() + TimeRange beginning() { return Second("timeofday_sd",rules,ux,0,ls,utco)->autopromote(); } - cSecond end() + TimeRange end() { return Second("timeofday",rules,ux+len,0)->autopromote(); } @@ -914,7 +914,7 @@ class TimeofDay { if (ls==CALUNKNOWN) make_local(); int u=utc_offset(); - return sprintf("%s, %s %s %s %d:%02d:%02d %+03d%02d", + return sprintf("%s, %s %s %s %02d:%02d:%02d %+03d%02d", base->week_day_shortname(), base->month_day_name(), base->month_shortname(), -- GitLab