Module talk:Time: Difference between revisions

Content deleted Content added
Line 517:
 
{{edit template-protected|Module:Time|answered=yes}}
({{ping|User:Trappist the monk}}) A update to [[#Template-protected edit request on 3 September 2018]], Replace the contents of [[Module:time]] with [[Module:time/sandbox]] ([https://en.wikipedia.org/w/index.php?title=Special:ComparePages&page1=Module:Time&page2=Module:Time/sandbox&diffmode=source diff]) and the contents of [[Module:time/data]] with [[Module:time/data/sandbox]] ([https://en.wikipedia.org/w/index.php?title=Special:ComparePages&page1=Module:Time/data&page2=Module:Time/data/sandbox&diffmode=source diff]). Examples of usage can be seen at [[User:BrandonXLF/sandbox/5]]. These edits add:<br />'''1)''' Aliases, extra abbreviations of timezones that allow for previous abbreviations that returned unknown to now return a timezone (including DST timezones)<br />'''2)''' More UTC offset support, allows for more support for UTC offsets (such as -5, +5 , +8:30 and -9.5 '''NEW''': +6.4)<br />'''3)''' DOW, adds dow as a format in the format table ('''NEW''')<br />'''Note:''' This edit also addresses [[#Abbreviations for Hawaii-Aleutian time zones are wrong]] – [[User:BrandonXLF|<span style="color:#0011ff;font-family:Georgia;text-shadow: 0.15em 0.15em 0.15em #db3a00;'>'''BrandonXLF'''</span>]] [[User talk:BrandonXLF|<span style="color:blue;"><sup>'''(t@lk)'''</sup></span>]] 00:56, 11 September 2018 (UTC)
:In the previous discussion I did write: {{tq|I might be persuaded that there is some sense in loosening the requirements for utc offset provided, however, that you do a better job with the code which is clearly not ready.}} You ignored that comment. For example:
::<code><nowiki>{{time/sandbox|1.2}}</nowiki></code> → {{time/sandbox|1.2}}
Line 537:
:::::::{{ping|User:Trappist the monk}} I got the error code working for <code><nowiki>{{time/sandbox|bob}}</nowiki></code> too, it looks like {{time/sandbox|bob}}. Please let me know if you have any other suggestions. – [[User:BrandonXLF|<span style="color:#0011ff;font-family:Georgia;text-shadow: 0.15em 0.15em 0.15em #db3a00;'>'''BrandonXLF'''</span>]] [[User talk:BrandonXLF|<span style="color:blue;"><sup>'''(t@lk)'''</sup></span>]] 00:15, 10 September 2018 (UTC)
::::::::{{ping|User:Trappist the monk}} I made some monior fixes such as producing better error codes and accepting more logical inputs. I also added dow to the date format table, I think it could be useful. As far as this edit request goes I'm done unless you have any issues/suggestion about it
:::::::::I have rewritten <code>get_full_utc_offset()</code> so that it is simpler and easier to understand. I removed the format specification because the default time display format is handled elsewhere. I do not think that it should be changed from its current iso format; {{para|df}} is there for those who wish a different format. Fractional hours to two digits are more-or-less properly supported by truncation:
::::::::::<code><nowiki>{{time/sandbox|-6:17}}</nowiki></code> → {{time/sandbox|-6.17}}
:::::::::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 12:05, 11 September 2018 (UTC)