Module:ConfigRepository: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Line 73: Line 73:
             transforms = {
             transforms = {
                 ["Has start date"] = function(value)
                 ["Has start date"] = function(value)
                     return tostring(require('Module:DateNormalization').formatDate(value))
                     return tostring(require('Module:NormalizationDate').formatDate(value))
                 end,
                 end,
                 ["Has end date"] = function(value)
                 ["Has end date"] = function(value)
                     return tostring(require('Module:DateNormalization').formatDate(value))
                     return tostring(require('Module:NormalizationDate').formatDate(value))
                 end
                 end
             },
             },
Line 299: Line 299:
                 end,
                 end,
                 ["Date introduced"] = function(value)
                 ["Date introduced"] = function(value)
                     return tostring(require('Module:DateNormalization').formatDate(value))
                     return tostring(require('Module:NormalizationDate').formatDate(value))
                 end,
                 end,
                 ["Date implemented"] = function(value)
                 ["Date implemented"] = function(value)
                     return tostring(require('Module:DateNormalization').formatDate(value))
                     return tostring(require('Module:NormalizationDate').formatDate(value))
                 end,
                 end,
                 ["Has PIC or RVC"] = function(value)
                 ["Has PIC or RVC"] = function(value)
Line 363: Line 363:
             transforms = {
             transforms = {
                 ["Has date"] = function(value)  
                 ["Has date"] = function(value)  
                     return tostring(require('Module:DateNormalization').formatDate(value))  
                     return tostring(require('Module:NormalizationDate').formatDate(value))  
                 end
                 end
             },
             },