Difference between revisions of "User:Catwheezle"
Jump to navigation
Jump to search
imported>Catwheezle |
imported>Catwheezle |
||
Line 10: | Line 10: | ||
This does not work: | This does not work: | ||
#Full expression: {{#ifeq:{{#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) | #Full expression: {{#ifeq:{{#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) | ||
#Full expression: {{#ifeq:{{#time: c|{{{safesubst:2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) | |||
#Full expression: {{#ifeq:{{safesubst:#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) | |||
#Full expression: {{safesubst:#ifeq:{{#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) | |||
#Full expression: {{#ifeq:{{#time: c|{{{subst:2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) | |||
#Full expression: {{#ifeq:{{subst:#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) | |||
#Full expression: {{subst:#ifeq:{{#time: c|{{{2}}}}}|<strong class="error">Error: invalid time</strong>|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.) | |||
Revision as of 02:34, 23 February 2012
Legal date:
These work:
- ifeq var to date: Ifeq thinks 00:37, 23 February 2012 is the static date
- ifeq var to string: Ifeq works with 00:37, 23 February 2012
- Time static: 2012-02-23T00:37:00+00:00 (always a time)
- Time var: 2012-02-23T00:37:00+00:00 (time or an error)
- Bad time var: Error: Invalid time. (always an error)
- Expression good static: Works
- Expression bad static: Fails
This does not work:
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: {{subst:#ifeq:Error: Invalid time.|Error: invalid time|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.)
For the full expression to not work, but the #ifeq and the #time and the {{{1}}} to all work fine separately or in any combination of the two seems strange.
- #ifeq #time - works
- #ifeq {{{1}}} - works
- #time {{{1}}} - works
- #ifeq #time {{{1}}} - fails
My name:
These work:
- ifeq var to date: Ifeq thinks Catwheezle is not a date
- ifeq var to string: Ifeq works with Catwheezle
- Time static: 2012-02-23T00:37:00+00:00 (always a time)
- Time var: Error: Invalid time. (time or an error)
- Bad time var: Error: Invalid time. (always an error)
- Expression good static: Works
- Expression bad static: Fails
This does not work:
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: IS a date (should depend on var, Equal or NotEqual.)
- Full expression: {{subst:#ifeq:Error: Invalid time.|Error: invalid time|NOT a date|IS a date}} (should depend on var, Equal or NotEqual.)
For the full expression to not work, but the #ifeq and the #time and the {{{1}}} to all work fine separately or in any combination of the two seems strange.
- #ifeq #time - works
- #ifeq {{{1}}} - works
- #time {{{1}}} - works
- #ifeq #time {{{1}}} - fails
For the full expression to not work, but the #ifeq and the #time and the {{{1}}} to all work fine separately or in any combination of the two seems strange.
- #ifeq #time - works
- #ifeq {{{1}}} - works
- #time {{{1}}} - works
- #ifeq #time {{{1}}} - fails