Template:Signing: Difference between revisions

Content added Content deleted
Enwikipedia>Amalthea
(pattern matching, to accept a wider range of input)
Enwikipedia>Amalthea
(less strict date matching, this should still have very few false positives)
Line 1: Line 1:
<includeonly>{{ {{{|safesubst:}}} Signing/core
<includeonly>{{ {{{|safesubst:}}} Signing/core
| 1={{#invoke:String|replace|source={{#invoke:String|replace|source={{{1}}} {{{2|}}}|pattern=( *[0-2]%d:[0-5]%d, [1-3]?%d %w+ 20%d%d [(]UTC[)] *)|replace=|plain=false}}|pattern=( *[0-2]%d:[0-5]%d, [1-3]?%d %w+ 20%d%d *)|replace=|plain=false}}
| 1={{#invoke:String|replace|source={{#invoke:String|replace|source={{{1}}} {{{2|}}}|pattern=( *[0-2]%d:[0-5]%d, [1-3]?%d %w+ 20%d%d [(]UTC[)] *)|replace=|plain=false}}|pattern=( *[0-2]%d:[0-5]%d, [^ ]+ [^ ]+ [^ ]+ *)|replace=|plain=false}}
| 2={{#invoke:String|match|s={{{1}}} {{{2|}}}|pattern=([0-2]%d:[0-5]%d, [1-3]?%d %w+ 20%d%d)}} (UTC)
| 2={{#invoke:String|match|s={{{1}}} {{{2|}}}|pattern=([0-2]%d:[0-5]%d, [^ ]+ [^ ]+ [^ ]+)}} (UTC)
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}