Problems with last update

edit

There are a couple of problems with this template, seemingly related to today's update:

  • The df (date first) parameter no longer seems to have any effect, so dates are showing as month first even when df is set.
  • The date components that are input with leading zero are now outputting with a leading zero, whereas before, the template was able to handle a date with or without leading zero and format it according to the manual of style. So 2025|03|01 and 2025|3|1 should both give 1 March 2025 (or March 1, 2025 for US format), but now 2025|03|01 gives 01 March 2025 / March 01, 2025 instead. Please could someone take a look and see if you can replicate the problem? (or if it is just a date setting that I have to set in my preferences, please let me know). Examples of both issues can be found in the first episode of List of Never the Twain episodes#Episodes. --Jameboy (talk) 12:45, 10 March 2025 (UTC)Reply
@Jameboy fixed the df bug, thanks for raising the issue. Gonnym (talk) 13:54, 10 March 2025 (UTC)Reply
Leading zero in days also fixed. If you see anything else, let me know. Gonnym (talk) 14:05, 10 March 2025 (UTC)Reply
@Gonnym: There's something else wrong. Thanks for fixing the df issue, but it looks it it's messing up entries in Template:Infobox song. Instead of showing the song's release year in the choronology, its says "160". See Take Me Out (song), which uses start date in the "released" field. ResPM (T🔈🎵C) 16:02, 10 March 2025 (UTC)Reply
Gonnym: The date expands to December 4, 2004. The template is looking for %d%d%d+, a three-digit number. I hacked the template to look for four-digit numbers instead (which might break for very old songs?), but if the module used nbsp instead of #160, that would probably work as well. – Jonesey95 (talk) 17:54, 10 March 2025 (UTC)Reply
I don't have any preference between #160; and nbsp;, the previous code used a mixture so I just chose one and can change it if that fixes the above issue. Let me know if that is what you want. Gonnym (talk) 19:23, 10 March 2025 (UTC)Reply
I don't have a preference either, but it's looks like the issue is fixed. Thanks again. ResPM (T🔈🎵C) 19:27, 10 March 2025 (UTC)Reply
There will be other instances where a template is looking for a three-digit number and this will break it. Please change to a non-numerical space code. Primefac (talk) 19:29, 10 March 2025 (UTC)Reply
Changed to the HTML entity nbsp. Gonnym (talk) 11:54, 11 March 2025 (UTC)Reply

Use dmy dates

edit

Would it be possible for this template to incorporate Module:Auto date formatter to automatically adjust its display based on the use of Template:Use dmy dates/Template:Use mdy dates? That would remove potential issues around using df wrongly, and simplify usage. CMD (talk) 16:29, 16 August 2025 (UTC)Reply

"Template:Css1date" listed at Redirects for discussion

edit

  The redirect Template:Css1date has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 August 17 § Template:Css1date until a consensus is reached. Mclay1 (talk) 10:00, 17 August 2025 (UTC)Reply