Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: How to scale Date-Time properly in REBOL?

From: brett::codeconscious::com at: 14-Jan-2002 23:43

Hi Allen,
> Maybe I'm missing something there, Brett, but that looks like a bit of > overkill? > > add-months: func [ > "Add months to a date." > date [date!] > months [integer!] > ][ > date/month: date/month + months > date > ]
Inappropriate overkill is a bad habit of mine :) In this case I think it was due to bugs in date operations, similar to what Jason has found. It eludes me now which versions are affected. Brett.