Hi John,
Thanks for looking at this. I did a test and this is what I came up
with:
I upgraded to the latest build 2.0.0.223 and changed my flexwiki.config
to add the <LocalDateFormat> and <LocalTimeFormat> copied from the
flexwiki.config.template. I didn't change the values (see below). Then I
restarted the IIS and browsed to the Wiki.
<LocalDateFormat>yyyy-MM-dd</LocalDateFormat>
<LocaltimeFormat>HH:mm</LocaltimeFormat>
On the frontpage where the history for the current topic is located I
get the date and time: "2008-03-05 23:15:13"
Here I would expect to have "2008-03-05 23:15", since the seconds
shouldn't be shown according to the <LocaltimeFormat>.
... I just saw when I wrote this that the LocaltimeFormat probably
should be called LocalTimeFormat with a capital T for time. *Testing*
OK. This didn't change the appearance in the History on the frontpage.
It still has the "2008-03-05 23:15:13". But what happened now was that
when I click the "List all versions" the date and time is exactly as
expected: "2008-03-05 23:15". This did not work before I changed to
LocalTimeFormat with a capital T.
Also clicking "Recent Changes" also generates the correct date and time
as expected.
So the following bugs still remains:
1. The "History" list in the leftborder doesn't follow the
timeformat. Looking at the WikiTalk code this most be what the
[each.Timestamp] generates in the code below (taken from my
_NormalBorders which is the same as a default _NormalBorders since I
haven't changed it).
[
"'''History'''", Newline,
aTopic.Changes.Snip(5).Collect
{ each |
[
"||{T-+}",
Presentations.Link(federation.LinkMaker.LinkToTopic(each.Fullname),
[each.Timestamp].ToString),
"||",
Newline,
"||{T-+}``",
each.Author,
"``||",
Newline
]
2. The flexwiki.config.template: Change the <LocaltimeFormat> to
<LocalTimeFormat>
Thanks again for the help regarding this John. Even though it's a minor
bug it's nice to have the same date and time formats showing everywhere.
Regards
Anders
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Davidson
Sent: den 11 mars 2008 01:53
To: FlexWiki Users Mailing List
Subject: Re: [Flexwiki-users] VB: Minor bug: Different time showing.
Hi Anders,
I have added a default format so that the date/time output should always
be consistent. You can provide a preferred format by adding values to
flexwiki.config. See the notes in flexwiki.config.template for
<LocalDateFormat> and <LocalTimeFormat>
John Davidson
This email has been scanned by the DefenderSoft Email Threat Protection.
For more information please visit www.emailthreatcenter.com
This email has been scanned by the DefenderSoft Email Threat Protection.
For more information please visit www.emailthreatcenter.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users