Module:ConvertDigit/doc

विकिस्रोत से

यह Module:ConvertDigit हेतु प्रलेख पृष्ठ है

How to use this:

local converter = require('Module:ConvertDigit')
local text = '12:30, 29 April 2015'
text = converter._main(text)
-- it will return "१२:३०, २९ अप्रैल २०१५"

#invoke call this (result will be above):

{{#invoke:ConvertDigit|main|12:30, 29 April 2015}} result →  १२:३०, २९ अप्रैल २०१५

{{ConvertDigit}}

{{#invoke:ConvertDigit|main}}

call from templates (result will be above):

{{ConvertDigit|12:30, 29 April 2015}} result → १२:३०, २९ अप्रैल २०१५

See also[सम्पादन]