Module:Calendar date/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 352:
end
 
json.usercalc = frame:preprocess(json.usercalc)
-- test
usercalc = frame.preprocess('{{#timel:Y|+1 year}} – {{#time:l, F j|@{{Hebrew year/rhdatum|{{#timel:xjY|1 November{{#timel:Y|+1 year}}}}}}+9 days}}')
 
--- Determine pre-pended text eg. "sunset, <date>"
Line 368 ⟶ 367:
 
-- Render
local rend = renderHoli(json,holiday,date,df,format,tname,cite,json.usercalc)
if not rend then
rend = '<span style="font-size:100%" class="error citation-comment">Error in [[:Template:' .. tname .. ']]: Unknown problem. Please report on template talk page.</span>'