Module:ChangePerDay: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

    9 November 2022

    • curprev 13:0513:05, 9 November 2022Jacmob 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..."