跳转到内容

Template:Format revisiontimestamp

本页使用了标题或全文手工转换
维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

Usage[编辑]

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

For example, Template:TLX 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-01-10 11:46:03