unclebob/fitnesse — Issue #51: V20111026 !today plus/minus Does Not Interpret Zero As Part of a Number
Author: tldavis
Created: 2011-11-22 23:05:46+00:00
State: open

With release V20111026, the functionality around !today -n and !today +n is not interpreting zeroes. Best shown through examples:

Given today is 2011-11-22
!today (yyyy-MM-dd) -1 ========> 2011-11-21
!today (yyyy-MM-dd) -10 =======> 2011-11-210
!today (yyyy-MM-dd) -101 ======> 2011-11-2101

!today (yyyy-MM-dd) -4 ===========> 2011-11-18
!today (yyyy-MM-dd) -4015 ========> 2011-11-18015

!today (yyyy-MM-dd) -0 =========> 2011-11-22 -0
!today (yyyy-MM-dd) +0 =========> 2011-11-22 +0