Jump to content

Template talk:Infobox calendar date today

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Byzantine calendar day of month should be the same as the Julian, not the Gregorian

[edit]

The Byzantine calendar was the same as the Julian, one leap year in four invariably. The only difference between them is the epoch. Am I right or am I right? ๐•๐•„๐”ฝ (talk) 20:23, 28 January 2025 (UTC)[reply]

Your statement conforms to the established facts. The Byzantine line should be removed from this template until someone implements it correctly. I took a quick look at {{JULIANCALENDAR}}, and it's not trivial to use it as a basis for a new template. I have a bit of interest in attempting it, but realistically I don't think I'll be able to invest the necessary time. Indefatigable (talk) 21:49, 28 January 2025 (UTC)[reply]
Admittedly it was monkey see, monkey do, but I hacked the algorithm at {{JULIANCALENDAR}} by changing the fudge factor at the end. Am I wrong or am I wrong?. It seems to work so I've made it live.
Alternatively, since it is no longer used anywhere, maybe we should just remove it? ๐•๐•„๐”ฝ (talk) 13:35, 29 January 2025 (UTC)[reply]
I too was thinking about its inclusion, and I think we should set a guideline for this template that only calendars that are currently in use should be here. Otherwise more and more historical calendars will be added until the template becomes cluttered and unusable. The Byzantine year count I don't think is used by any churches or governments anymore, so if we adopt that guideline we'd have to remove it. Indefatigable (talk) 16:41, 29 January 2025 (UTC)[reply]
Yes, I agree. Otherwise it will rapidly become undue in the articles where it is used and just be deleted. So I will be bold now and remove that entry. If anybody disagrees, well they know what to do. ๐•๐•„๐”ฝ (talk) 17:05, 29 January 2025 (UTC)[reply]

When does "today" start?

[edit]

Do readers in Sydney get their new weekday and date displayed, although it is still yesterday in London? ๐•๐•„๐”ฝ (talk) 11:36, 2 February 2025 (UTC)[reply]

The template uses a mix of magic words and the #time parser functions - all of which uses UTC time as that is what English Wikipedia is configured for. Harryboyles 14:00, 2 February 2025 (UTC)[reply]
The reason I asked is that the template is used in a number of calendar articles whose day, most noticeably the New Year's Day, starts many hours ahead of UTC. Does it matter? (it would be better not to clutter the display with detail if we don't have to). --๐•๐•„๐”ฝ (talk) 16:19, 2 February 2025 (UTC)[reply]

Call for documentation

[edit]

Although this online application is very useful and is used on many WP pages, it is completely unsourced.

Nothing is mentioned about the used algorithms, nor is any literature cited.

In the case of the Islamic calendar, it should be mentioned that it appears to be based on the tabular Islamic calendar (which of the many versions?) and that the displayed date can be one, or even two days in variance with other Islamic calendar date converters. AstroLynx (talk) 10:17, 27 June 2025 (UTC)[reply]

@Gonnym:, can you do the needful please? or at least say where #time and its arguments like xij can be found so that someone else can do it? --๐•๐•„๐”ฝ (talk) 15:40, 29 June 2025 (UTC)[reply]

Struck request for info about #time as I've found it at mw:Help:Extension:ParserFunctions##time: its purpose seems to be formatting ao doesn't do much to resolve the request. --๐•๐•„๐”ฝ (talk) 15:47, 29 June 2025 (UTC)[reply]
With the help of Jonesey95, I believe that the requirement for documentation has been met and the "ticket" may be considered to be closed. (The info was in mw:Help:Extension:ParserFunctions##time: all along โ€“ I failed to spot it in the blue column down the right hand side of that page.) ๐•๐•„๐”ฝ (talk) 11:12, 2 July 2025 (UTC)[reply]

Islamic date only

[edit]

Today in the Islamic calendar
(using tabular method)
:


6 Muharram 1447 AH
(= 2. July 2025)
[update]

Now that the sourcing problem has been partially answered it may be useful to note that when only the Islamic date is desired one could use the following wikicode which was modified from the German Wikipedia.

<div style="border:solid #ccc; background: #fff; border-width: 1px 3px 3px 1px; text-align: center; padding-top:3px; float:{{{float|right}}}; font-size: smaller; line-height: 1.3; margin-left:1em; margin-right: 4px; width: 15em"> '''Today in the Islamic calendar<br /> <small>(using [[tabular Islamic calendar|tabular method]])</small>''': ---- {{#timel:xmj}} [[{{#switch:{{{1|{{#timel:xmn}}}}}|1=Muharram|2=Safar|3=Rabi' al-Awwal|4=Rabi' al-Thani|5=Jumada al-Awwal|6=Jumada al-Thani|7=Rajab|8=Sha'ban|9=Ramadan|10=Shawwal|11=Dhu al-Qadah|12=Dhu al-Hijjah}}]] {{#timel:xmY}} AH<br /><small>(= {{#timel:j. F}} {{#timel:Y}}) <br /><nowiki>[update]

AstroLynx (talk) 08:49, 2 July 2025 (UTC)[reply]

True but one of the motivations for creating this "Today" infobox was to put a date in any system in an overall context. Previously we had a mess of different styles and subjective selections of what to include and what to omit. So I would hope that we don't slip back into that bad habit. ๐•๐•„๐”ฝ (talk) 11:08, 2 July 2025 (UTC)[reply]
@AstroLynx: Please don't paste code blobs into the talk page; they are difficult to format correctly and cannot be tested directly. Instead, please edit the sandbox, per WP:TESTCASES. --Redrose64 ๐ŸŒน (talk) 18:11, 2 July 2025 (UTC)[reply]