Module:TwitterSnowflake: 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.

5 December 2024

  • curprev 15:2815:28, 5 December 2024Simonlc talk contribs 2,868 bytes +2,868 Created page with "local p = {} local Date = require('Module:Date')._Date function p.snowflakeToDate(frame) local format = frame.args.format or "%B %e, %Y" local epoch = tonumber(frame.args.epoch) or 1288834974 local id_str = frame.args.id_str if type(id_str) ~= "string" then error("bad argument #1 (expected string, got " .. type(id_str) .. ")", 2) end if type(format) ~= "string" then error("bad argument #2 (expected string, got " .. type(format) .. ")", 2) end if type(epoch) ~= "n..."