Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2221ac45b2eb7b5

Jump to content

Module:Format time/doc

From Wikipedia, the free encyclopedia

This module is a fancy way to call {{#time}} in Lua. Unlike #time, it handles YMD dates (e.g. 2020 January 1) correctly via Module:YMD to ISO.

Syntax

[edit]

From a template:

{{#invoke:Format date|main|<timestamp>|fmt=<Formatting string>}}

From a module:

require('Module:Format time')._main{<timestamp>, fmt = <Formatting string>}

In both cases, <timestamp> is any timestamp considered valid by {{#time}} plus YMD format. |fmt= can be any format according to mw:Help:Extension:ParserFunctions##time, and defaults to j xg Y, which renders dates like 28 June 2025.