Ah, Geez. Nevermind. P1Y2M is one year, 2 months, which is 14. Clearly I should stop editing the spec this evening. Sorry about the spam. John M. Boyer, Ph.D. STSM: Lotus Forms Architect and Researcher Chair, W3C Forms Working Group Workplace, Portal and Collaboration Software IBM Victoria Software Lab E-Mail: boyerj@ca.ibm.com Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer John Boyer/CanWest/IBM@IBMCA Sent by: public-forms-request@w3.org 08/13/2007 11:28 PM To Forms WG (new) <public-forms@w3.org> cc Subject Error in months() function example? Just doing my action items, one of which requires me to better explain the examples for seconds() and months(). Going all the way back to XForms 1.0 first ed., we have the example months("P1Y2M") returns 14. Surely that should be 24, right?!? The P1 doesn't affect the outcome, the M part expresses zero months, and the Y part gives two years, which is 24 months, not 14. Thanks, John M. Boyer, Ph.D. STSM: Lotus Forms Architect and Researcher Chair, W3C Forms Working Group Workplace, Portal and Collaboration Software IBM Victoria Software Lab E-Mail: boyerj@ca.ibm.com Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyerReceived on Tuesday, 14 August 2007 06:38:02 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:37:08 GMT