On Thu, Mar 31, 2011 at 11:00 AM, Ernie Dunbar <[email protected]> wrote:
>  -> Date: Thu, 31 Mar 2011 08:52:15 -0699

Hmmm, I'm not much help on your problem.  But your swaks does the same
thing mine does with the time zone.  -0699 instead of -0700.  It
prints it properly if I change

$o = int(0.5 + (timelocal(@l) - timelocal(@g))/36);

to

$o = int(0.0 + (timelocal(@l) - timelocal(@g))/36);

I haven't worked through the logic to figure out why the math is the way it is.

-- 
Regards...      Todd
"It is the nature of the human species to reject what is true but
unpleasant and to embrace what is obviously false but comforting."
"You might be a skeptic if you have pedantically argued the topic of pedantry."

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to