Модуль:Wikidata2/date: юрамалар арасында аерма
Контент бетерелгән Контент өстәлгән
Marat-avgust (бәхәс | кертем) Төзәтмә аңлатмасы юк |
Төзәтмә аңлатмасы юк |
||
Юл номеры - 137:
if ( claim.mainsnak.snaktype == "value" ) then
-- The calendar model used for saving the data is always the proleptic Gregorian calendar according to ISO 8601.
local
local unixtime = parseISO8601(
local structure = os.date("*t", unixtime)
local precision = tonumber( claim.mainsnak.datavalue.value.precision )
Юл номеры - 227:
options['value-module'] = 'Wikidata/date';
options['value-function'] = 'formatBirthDate';
options.i18n.somevalue = '\'\'
options.i18n.approximate = '<span style="border-bottom: 1px dotted; cursor: help;" title="
local result = context.formatStatementDefault( context, options, statement );
Юл номеры - 237:
local age = ageCurrent( bTable )
if ( age ) then
result = result .. ' <span style="white-space:nowrap;">(' .. age .. ' ' .. mw.language.new( '
if ( age > 150 and not options.nocat ) then
result = result .. categoryBigCurrentAge;
Юл номеры - 271:
options['value-module'] = 'Wikidata/date';
options['value-function'] = 'formatDeathDate';
options.i18n.somevalue = '\'\'
options.i18n.approximate = '<span style="border-bottom: 1px dotted; cursor: help;" title="
local result = context.formatStatementDefault( context, options, statement );
Юл номеры - 281:
local age = age( bTable, dTable )
if ( age ) then
result = result .. ' <span style="white-space:nowrap;">(' .. age .. ' ' .. mw.language.new( '
if ( age > 150 and (not context.options or not context.options.nocat) ) then
result = result .. categoryBigDeathAge;
Юл номеры - 300:
return formatDateImpl( value, options, 'bday', nil )
else
return formatDateImpl( value, options, 'bday', '
end
end
Юл номеры - 313:
return formatDateImpl( value, options, 'dday', nil )
else
return formatDateImpl( value, options, 'dday', '
end
end
Юл номеры - 337:
-- The calendar model used for saving the data is always the proleptic Gregorian calendar according to ISO 8601.
local
local unixtime = parseISO8601(
local structure = os.date("*t", unixtime)
|