Template talk:Start date/Archive 01

Issues to resolve

 * no HH:MM:SS component as yet
 * Possible merge with End date, with flag for "start" or "end" property.
 * Andy Mabbett | Talk to Andy Mabbett 18:27, 31 July 2007 (UTC)


 * It would be hard to find a short, descriptive name for it; the obvious choices are already taken by other templates. —  SMcCandlish  &#91;talk&#93; &#91;cont&#93; ‹(-¿-)› 14:47, 1 September 2008 (UTC)

Month-year format wrong
This now generates dates like "Month, Year", which should instead be "Month Year" per WP:MOSDATE. --PEJL 22:09, 1 August 2007 (UTC)


 * OK, I fixed that. --PEJL 23:11, 1 August 2007 (UTC)

Space at end of date
There is an unnecessary space after each date. It is present in the html between the last link and the &lt;span style="display:none"&gt; tag. I have the same behaviour with SeaMonkey 1.1.3 and Internet Explorer 7. Doub 06:55, 18 August 2007 (UTC)


 * Yes, I've noticed that as well. It appears to only be possible to get rid of it if we use non-breaking spaces, as spaces are moved and removed by MediaWiki otherwise. I've done so. If anyone knows of a better way to fix this without using non-breaking spaces, please implement that. --PEJL 08:34, 18 August 2007 (UTC)

links to separate years and months
As per WP:CONTEXT, stand alone links to months and years should no be used. Can someone fix it so that the template does not create links to the year and month when there are no date present? Rettetast (talk) 23:00, 29 May 2008 (UTC)


 * I agree with this but I do not understand how to do it. Lightmouse (talk) 23:08, 29 May 2008 (UTC)

I managed to get rid of the stand alone month links, but the year links are still there. Rettetast (talk) 00:44, 30 May 2008 (UTC)

Multiple changes
I just made a fairly extensive edit to this template. First, I removed pad2digit, as that workaround is no longer needed (and it doesn't really make it too much harder to read when using padleft directly). Second, I cut out most of the non-breaking spaces, except for the one in the display:none span that is still needed (I haven't found a simple workaround for that yet). Finally, I removed the links on the year when the day is not present, per above. --- RockMFR 02:11, 12 June 2008 (UTC)

Edit protected
Change the code to:

&#160;

This should remove the problem with leading zeroes in dates which is discouraged. Sceptre (talk) 12:08, 26 August 2008 (UTC)
 * [[Image:Yes check.svg|20px]] Done. I modified the code a bit, including updating the protection template. Cheers. --MZMcBride (talk) 04:44, 28 August 2008 (UTC)

Is someone going to fix this, or what?
A bunch of the examples look to be completely hosed, wrapping to two lines and with extraneous ')"' stuff, while all of the ones that provide a time have no space between the time-and-comma and the date. —  SMcCandlish  &#91;talk&#93; &#91;cont&#93; ‹(-¿-)› 14:45, 1 September 2008 (UTC)
 * Reverted for now. Looking into what's going on... --- RockMFR 16:26, 1 September 2008 (UTC)
 * Okay everything should be good now. --- RockMFR 16:37, 1 September 2008 (UTC)

Add class="bday"
Please change  to  ; this will allow the template's use in infoboxes generating hCard microformats for organisations and other non- human entities, where Birth date is inappropriate, and where a YYYY or YYYY-MMM date may be required. Thank you. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 21:56, 10 September 2008 (UTC)


 * Wouldn't this cause potential problems in cases where it is not a birthdate? Whichever downstream users are making use of the microformats would have to deal with a lot of "birthdates" that aren't really birthdates. How about making the class optional? --- RockMFR 03:34, 11 September 2008 (UTC)


 * not done editprotected declined: Unclear consensus on change.  —EncMstr (talk) 00:58, 13 September 2008 (UTC)


 * In such cases, the class will just be ignored, because in such cases the template will not be appearing inside an element with hCard's parent  The effect will be just like when the existing hAtom class   is ignored, when the template is used for hCalendar start-dates, and does not apepar inside an element with  hAtom's parent  . No styles are applied to these classes, so it's quite safe. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 22:41, 15 September 2008 (UTC)


 * Okay. Done. --- RockMFR 16:14, 18 September 2008 (UTC)


 * Brilliant, Thank you. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 16:31, 18 September 2008 (UTC)