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

7 October 2024

  • curprev 22:3122:31, 7 October 2024Tom talk contribs 1,153 bytes +1,153 Created page with "local p = {} -- There's probably a way to use strptime or some other more sophisticated way, but you're not supposed to be using a non-timestamp as input anyway. local function endswith(String,End) return End == '' or string.sub(String,-string.len(End)) == End end local function trim(s) return s:gsub("^%s+", ""):gsub("%s+$", ""):gsub("\226\128\142", "") end local function addUtcToStringIfItDoesNotEndWithUtc(s) if s == "" or endswith(s, "~~~~") then return s end i..."