Template talk:ISO week demo

From Meta, a Wikimedia project coordination wiki

Comparison of result of Template:Week2 and Template:Week (the former has a leading zero).

  • 1999|12|28 1999 2 52 52
  • 1999|12|29 1999 3 52 52
  • 1999|12|30 1999 4 52 52
  • 1999|12|31 1999 5 52 52
  • 2000|01|01 1999 6 52 0
  • 2000|01|02 1999 7 52 0
  • 2000|01|03 2000 1 01 1
  • 2000|01|04 2000 2 01 1
  • 2000|12|28 2000 4 52 52
  • 2000|12|29 2000 5 52 52
  • 2000|12|30 2000 6 52 52
  • 2000|12|31 2000 7 52 52
  • 2001|01|01 2001 1 01 1
  • 2001|01|02 2001 2 01 1
  • 2001|01|03 2001 3 01 1
  • 2001|01|04 2001 4 01 1
  • 2001|12|28 2001 5 52 52
  • 2001|12|29 2001 6 52 52
  • 2001|12|30 2001 7 52 52
  • 2001|12|31 2002 1 01 1
  • 2002|01|01 2002 2 01 1
  • 2002|01|02 2002 3 01 1
  • 2002|01|03 2002 4 01 1
  • 2002|01|04 2002 5 01 1
  • 2002|12|28 2002 6 52 52
  • 2002|12|29 2002 7 52 52
  • 2002|12|30 2003 1 01 1
  • 2002|12|31 2003 2 01 1
  • 2003|01|01 2003 3 01 1
  • 2003|01|02 2003 4 01 1
  • 2003|01|03 2003 5 01 1
  • 2003|01|04 2003 6 01 1

Test dates for 2004:

  • 2003|12|28 2003 7 52 52 (expected: 2003-W52-7)
  • 2003|12|29 2004 1 01 1 (expected: 2004-W01-1)
  • 2003|12|30 2004 2 01 1
  • 2003|12|31 2004 3 01 1
  • 2004|01|01 2004 4 01 1 (expected: 2004-W01-4)
  • 2004|01|02 2004 5 01 1
  • 2004|01|03 2004 6 01 1
  • 2004|01|04 2004 7 01 1
  • 2004|12|28 2004 2 53 53
  • 2004|12|29 2004 3 53 53
  • 2004|12|30 2004 4 53 53
  • 2004|12|31 2004 5 53 53 (expected: 2004-W53-5)
  • 2005|01|01 2004 6 53 0
  • 2005|01|02 2004 7 53 0 (expected: 2004-W53-7)
  • 2005|01|03 2005 1 01 1 (expected: 2005-W01-1)
  • 2005|01|04 2005 2 01 1
  • 2005|12|28 2005 3 52 52
  • 2005|12|29 2005 4 52 52
  • 2005|12|30 2005 5 52 52
  • 2005|12|31 2005 6 52 52
  • 2006|01|01 2005 7 52 0
  • 2006|01|02 2006 1 01 1
  • 2006|01|03 2006 2 01 1
  • 2006|01|04 2006 3 01 1
  • 2006|12|28 2006 4 52 52
  • 2006|12|29 2006 5 52 52
  • 2006|12|30 2006 6 52 52
  • 2006|12|31 2006 7 52 52
  • 2007|01|01 2007 1 01 1
  • 2007|01|02 2007 2 01 1
  • 2007|01|03 2007 3 01 1
  • 2007|01|04 2007 4 01 1

Test dates for 2009:

  • {{ISO week demo|2008|12|28}} gives 2008 7 52 52 (2008-W52-7)
  • {{ISO week demo|2008|12|29}} gives 2009 1 01 1 (2009-W01-1)
  • {{ISO week demo|2009|01|01}} gives 2009 4 01 1 (Thursday)
  • {{ISO week demo|2009|12|27}} gives 2009 7 52 52 (2009-W52-7)
  • {{ISO week demo|2009|12|28}} gives 2009 1 53 53
  • {{ISO week demo|2010|01|03}} gives 2009 7 53 0 (2009-W53-7)
  • {{ISO week demo|2010|01|04}} gives 2010 1 01 1 (2010-W01-1)
  • {{ISO week demo|2010|01|07}} gives 2010 4 01 1 (Thursday)