Module:ChangePerDay: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

11 October 2024

  • curprev 23:0923:09, 11 October 2024Alex talk contribs 672 bytes +672 Created page with "-- <nowiki> -- -- Implements {{ChangePerDay}} -- local p = {} local round = require( 'Module:Number' )._round function p._change( args ) local lang = mw.language.getContentLanguage() local price = tonumber( args[1] ) or 1 local last = tonumber( args[2] ) or 1 local date = args[3] or 'January 1' local lastDate = args[4] or 'July 1' local diff = lang:formatDate( 'U', date ) - lang:formatDate( 'U', lastDate ) local ret diff = diff / 8640..."