I've always thought "1 days" comes from lazy programming or illiterate programmers.
On Wed, Dec 10, 2014 at 2:21 PM, <[email protected]> wrote: > Oops. The plural() isn't needed. Substitute > > abs(date-today()) + " days ago",\ > > If handling both singular and plural, and if wanted to use plural(), > need to handle the -1 case with, e.g., FSET _plural(x) plural(abs(x)) > (in Remind version 03.01.05, anyway.) > > Tony > > > > FSET _dayinterval(date,phrasing) iif(\ > > ((date-today()) < -1),\ > > abs(date-today()) + " day" + plural(date-today()) + " ago",\ > > ((date-today()) == -1),\ > > "yesterday",\ > > ((date-today()) == 1),\ > > "tomorrow",\ > > ((date-today()) > 1),\ > > iif(phrasing == "indaystime", "in ","") + \ > > (date-today()) + \ > > iif(phrasing == "indaystime", " days' time", \ > > phrasing == "daysfromnow", " days from now", ""),\ > > "today") > _______________________________________________ > Remind-fans mailing list > [email protected] > http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans > Remind is at http://www.roaringpenguin.com/products/remind > _______________________________________________ Remind-fans mailing list [email protected] http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans Remind is at http://www.roaringpenguin.com/products/remind
