Page 1 of 1
name of curtitle
Posted: 10 Feb 2008 15:05
by PeterH
More a question than a wish: should the variable curtitle be renamed to curname - to match the name of the column 'Name' it's displayed in? As curext matches column Ext?
And another question: I can use <dyyyy-mm-dd>, but not <myyyy-mm-dd> - does this have a reason?
Re: name of curtitle
Posted: 10 Feb 2008 15:22
by admin
PeterH wrote:More a question than a wish: should the variable curtitle be renamed to curname - to match the name of the column 'Name' it's displayed in? As curext matches column Ext?
Yes, I like curname. But I have to leave curtitle in as well for compatibility...
PeterH wrote:And another question: I can use <dyyyy-mm-dd>, but not <myyyy-mm-dd> - does this have a reason?
In which context? <m...> needs a file to refer to.
Posted: 10 Feb 2008 21:48
by PeterH
To curname: I have no problem with duplicates. And if you (and jacky in XYwiki etc.) stop documenting the old name, or define as 'outdated' or such, you maybe can delete it in 1 year or so...
To mod-date: yes, a file is selected, it's definitely a problem of the format!
2 lines in script:
<br>dhh:mm:ss = <dhh:mm:ss> <ddd.mm.yy> / <dyyyy-mm-dd>
<br>mhh:mm:ss = <mhh:mm:ss> <mdd.mm.yy> / <myyyy-mm-dd>
2 lines in display (thanks to Mark&Copy

)
dhh:mm:ss = 21:31:54 10.02.08 / 2008-02-10
mhh:mm:ss = 14:54:51 10.02.08 / <myyyy-mm-dd>

<mhh:mm:ss> <mdd.mm.yy> are ok, while <myyyy-mm-dd> isn't!
(It's date and time of the currently used scriptfile

)
Posted: 10 Feb 2008 21:58
by jacky
Modified: looks like it's just that only the first occurence is replaced, and it stops there; No problem of format.
At least to me, the second line does this :
mhh:mm:ss = 16:29:14 <mdd.mm.yy> / <myyyy-mm-dd>
If you get the two first patterns replaced, then I don't know.
Posted: 10 Feb 2008 22:54
by PeterH
jacky is almost right, here it's so: only the first 2 references to a <m...> variable are resolved - all following seem not to be recognized. (even on following lines, or in following command...) No matter of the form, or if it is date or time.
No problem like that with <d...> vars.
Posted: 10 Feb 2008 23:15
by jacky
PeterH wrote:jacky is almost right, here it's so: only the first 2 references to a <m...> variable are resolved - all following seem not to be recognized. (even on following lines, or in following command...) No matter of the form, or if it is date or time.
No problem like that with <d...> vars.
Well, you're lucky then. For me it's only one, the first one, that's it.
This :
::copytext <mhh:mm:ss> <mhh:mm:ss> <mhh:mm:ss> <mhh:mm:ss>
gives me this :
16:29:14 <mhh:mm:ss> <mhh:mm:ss> <mhh:mm:ss>
Even with a fresh install.
Posted: 10 Feb 2008 23:25
by PeterH
...quite strange. You are sure that you didn't reference any <m...> before in your script?
On the other side: I have no idea for the reason - but I would understand your version (one ok, then bad) better than mine (2 ok, then bad). But let's wait for Don...
Posted: 11 Feb 2008 08:49
by admin
PeterH wrote:...quite strange. You are sure that you didn't reference any <m...> before in your script?
On the other side: I have no idea for the reason - but I would understand your version (one ok, then bad) better than mine (2 ok, then bad). But let's wait for Don...
Resolved the first 2 ?? Hmmm... only 1 here. Anyway, fixed it: now all are resolved.