Hi Georg,
Your understanding is correct.

This is a bug which was reported and fixed (
https://github.com/slavapestov/factor/pull/1004 ). You can try the
developpment version to get the fix.

Regards,
Jon
Le 21 août 2014 16:46, "Georg Simon" <georg.si...@auge.de> a écrit :

> 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 ?
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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