Add date.timetuple()

Merged
RE
8d ago
+56-3

Summary by cubic

Adds date.timetuple() and datetime.timetuple() so both return a time.struct_time with tm_isdst set to -1 and tm_zone/tm_gmtoff as None, matching CPython. date fills the time-of-day fields with midnight; datetime uses its own wall-clock fields and is unaffected by tzinfo.

  • Shares a single naive struct_time builder for both methods.
  • Updates docs/limitations/datetime.md to list timetuple() for the date, datetime, and time types and note the 11-item struct_time.