This function calculates week day according to 1900 leap year bug, described in observations to Part 3, section 3.16.9.1 and Part 4, section 3.17.4.1. A software error should be corrected, not documented in a standard.

To adequate function description to a date representation that conforms to ISO 8601.

Weekday’ function Part 4, section 3.17.7.341

te

Proposed Disposition of DIS 29500 Comment CL-0015 (Modified: 2008-01-02) Agreed; what was formerly the 1900 date base in SpreadsheetML - now called the 1900 backwards compatibility date base as a response to BR-0046, CH-0006 (and more) - that several functions dealing with dates and durations would incorrectly calculate those durations across February 28, 1900 and March 1, 1900. While that calculation bug must be maintained by these functions for compatibility with the existing corpus of binary documents, we do recognize the importance of fixing this calculation bug. As such, we have created a new date base as a response to BR-0046, CH-006 (and more) that both fixes the 1900 leap year bug and supports dates prior to the year 1900. When a SpreadsheetML document uses this new 1900 date base, functions such as WEEKDAY that deal with dates and durations should no longer display the buggy behaviour. Because the definitions of these functions already refer to §3.17.4.1 which describes the date base systems in SpreadsheetML, no update is necessary to §3.17.7.341 for this disposition. Similar Comments: CA-0071 , CL-0172 , DE-0073 , FR-0352 , GB-0305 , GR-0007 , IN-0062 , US-0134

Tag and Go

No Comments

Sorry, the comment form is closed at this time.

  • Argentina (1)
  • Australia (30)
  • Austria (1)
  • Belgium (1)
  • Brazil (64)
  • Bulgaria (3)
  • Canada (79)
  • Chile (217)
  • China (1)
  • Colombia (237)
  • Czech Republic (75)
  • Denmark (168)
  • Ecma (76)
  • Ecuador (1)
  • Finland (15)
  • France (592)
  • Germany (162)
  • Ghana (12)
  • Greece (113)
  • India (82)
  • Iran (58)
  • Ireland (12)
  • Israel (33)
  • Italy (2)
  • Japan (82)
  • Jordan (1)
  • Kenya (81)
  • Malaysia (23)
  • Malta (5)
  • Mexico (7)
  • New Zealand (54)
  • Norway (12)
  • Peru (10)
  • Philippines (7)
  • Poland (4)
  • Portugal (118)
  • Singapore (2)
  • South Africa (17)
  • South Korea (25)
  • Spain (1)
  • Switzerland (19)
  • Thailand (1)
  • Tunisia (3)
  • Turkey (1)
  • UK (635)
  • Uruguay (18)
  • USA (288)
  • Venezuela (73)