[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: It's time...
- From: John Bazik <nospam@thanx>
- Date: Fri, 7 May 1999 14:49:08 -0400 (EDT)
> Please let me know now if you want other features included in the
> next release.
How about dropping the DST from WML_SRC_CTIME and WML_GEN_CTIME?
>From wml_frontend/wml.src:
sub ctime {
my ($time) = @_;
-
- my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) =
- localtime($time);
- my ($str) = sprintf("%s %s %2d %02d:%02d:%02d 19%s%s",
- $dow[$wday], $moy[$mon], $mday, $hour, $min, $sec, $year,
- $isdst ? " DST" : "");
- return $str;
+
+ return scalar(localtime($time));
}
This would also fix the Y2K problem I see there...
John
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com