I want to determine the earlier of two timestamps. Using "min" I got
strange results. The first of the two timestamps is altered. It seems
to be altered by ">gmt":

IN: scratchpad today dup 1 days time+

--- Data stack:
T{ timestamp f 2014 8 21 0 0 0 ~duration~ }
T{ timestamp f 2014 8 22 0 0 0 ~duration~ }
IN: scratchpad 2dup min

--- Data stack:
T{ timestamp f 2014 8 20 22 0 0 ~duration~ }
T{ timestamp f 2014 8 22 0 0 0 ~duration~ }
T{ timestamp f 2014 8 20 22 0 0 ~duration~ }

What do I understand wrong ?

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to