Module:European and national party data/Wd: Difference between revisions

Content deleted Content added
let the system to format numbers and dates based on locale
m ops, no need to reformat value as a data value when there is no month nor day
 
Line 1,098:
fmt = i18n['datetime']['format']['my']
end
value = self.langObj:formatDate(fmt, value..'-'..mStr..'-'..dStr)
else
-- fmt i18n['datetime']['format']['y'] === fmt 'Y' === value
end
value = self.langObj:formatDate(fmt, value..'-'..mStr..'-'..dStr)
 
value = prefix .. value .. suffix .. calendar