跳转到内容

Template:Format revisiontimestamp/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

这是Template:Format revisiontimestamp/doc当前版本,由A2569875留言 | 贡献编辑于2024年10月9日 (三) 00:28 Usage。这个网址是本页该版本的固定链接。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)

Usage

[编辑]

Generates a more readable output for timestamps in the format YYYYMMDDHHMMSS – as returned by the {{REVISIONTIMESTAMP}} magic word.

For example, {{FRTS|20230501215438}} is output as "2023-05-01 21:54:38".

The template is equivalent to using the time function — For example {{#time:Y-m-d H:i:s| {{REVISIONTIMESTAMP}} }} — outputs 2024-10-09 00:28:37