Module talk:Time: Difference between revisions

Content deleted Content added
Line 527:
:::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 19:29, 9 September 2018 (UTC)
::::{{ping|User:Trappist the monk}}The reason that doesn't work is because 1.26 = UTC+01:15.6 and you can't have a UTC offset of 1:15.6, if you'd like I can add a rounding function. So UTC1:15.6 ---> UTC1:16. Please let me know if I should add it. – [[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>]] 19:41, 9 September 2018 (UTC)
:::::The module should gracefully accept whatever it is given as input. The big red lua script error message is not graceful. So if I type:
::::::<code><nowiki>{{time|bob}}</nowiki></code>
:::::where there is not timezone called 'bob', the module should gracefully fail:
::::::{{time|bob}}
:::::and it does but the sandbox doesn't:
::::::<code><nowiki>{{time/sandbox|bob}}</nowiki></code> → {{time/sandbox|bob}}
:::::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 19:54, 9 September 2018 (UTC)