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

6 May 2023

  • curprev 09:5109:51, 6 May 2023Vish talk contribs 540 bytes +540 Created page with "local p = {} function p.parse(dateString) local year, month, day local yearOnlyPattern = '^(%d%d%d%d)$' local monthYearPattern = '^(%a+)%s(%d%d%d%d)$' local fullDatePattern = '^(%a+)%s(%d+),%s(%d%d%d%d)$' year = dateString:match(yearOnlyPattern) if not year then month, year = dateString:match(monthYearPattern) if not year then month, day, year = dateString:match(fullDatePattern) end end..."