🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
14 messages
14 total messages Started by Joe Makowiec Fri, 25 Aug 2006 20:56
XNews Date Format problem
#189899
Author: Joe Makowiec
Date: Fri, 25 Aug 2006 20:56
28 lines
1944 bytes
Here's the setup:

    * XNews is located on a server so it can be accessed from two
      different computers. This means that everything - newsrc files,
      .ini files - is the same between computers 
    * One computer runs Windows 2000
    * The other runs Windows XP Pro
    * XNews version is 2006.08.22

The Win2K machine is showing dates for the current day as ddd hh:nn; for 
the previous day, it shows hh:nna/p. On the WinXP machine, it's just 
reversed: the current day shows the (default) hh:nna/p; for the previous 
day, it shows ddd hh:nn.

I tried removing the Xnews registry key on the Win2K machine.  
Unfortunately, that didn't change anything.  What do I need to do to get 
the date format corrected on the Win2K machine?  The manual is silent on 
the topic.  I tried STFNG, which is where I came up with the registry key 
idea.

You can see a picture of the problem at:

http://makowiec.org/xnewsproblem.html

-- 
Joe Makowiec
http://makowiec.org/
Email: http://makowiec.org/contact/?Joe
Re: XNews Date Format problem
#189898
Author: Arne Anka
Date: Fri, 25 Aug 2006 21:20
25 lines
2992 bytes
I news.software.readers, sa Joe Makowiec utan att tänka först:

> The Win2K machine is showing dates for the current day as ddd hh:nn;
> for the previous day, it shows hh:nna/p. On the WinXP machine, it's
> just reversed: the current day shows the (default) hh:nna/p; for the
> previous day, it shows ddd hh:nn.
> 
> I tried removing the Xnews registry key on the Win2K machine.  
> Unfortunately, that didn't change anything.  What do I need to do to
> get the date format corrected on the Win2K machine?  The manual is
> silent on the topic.  I tried STFNG, which is where I came up with
> the registry key idea.

It's a setting in the Xnews.ini file. You should RTFM ;0)

Look for Xnews.ini: Global settings - [Display] section:
DateFmtDay, DateFmtWeek, DateFmtYear, DateFmtShort & DateFmtLong

-- 
Arne Anka

Faan, de e förjävlit! Näri helvete ska man börja
bemöta kulturen med den respekt den förtjänar...?

<http://starcruiser.dk/conny>
Re: XNews Date Format problem
#189900
Author: Mike Yetto
Date: Fri, 25 Aug 2006 21:23
27 lines
2300 bytes
There is was, minding my own business when
Joe Makowiec wrote...

> The Win2K machine is showing dates for the current day as ddd
> hh:nn; for the previous day, it shows hh:nna/p. On the WinXP
> machine, it's just reversed: the current day shows the (default)
> hh:nna/p; for the previous day, it shows ddd hh:nn.
> 

In the manual search for "[Display] section:" and "DateFmt" which 
should get you what you want.

> I tried removing the Xnews registry key on the Win2K machine.  
> Unfortunately, that didn't change anything.  What do I need to
> do to get the date format corrected on the Win2K machine?  The
> manual is silent on the topic.  I tried STFNG, which is where I
> came up with the registry key idea.
> 

Points for STFNG, but you could have scored big with RTFM.

    	Mike "even during nicey-nice week" Yetto
-- 
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
    - John Adams 
Re: XNews Date Format problem
#189901
Author: Joe Makowiec
Date: Fri, 25 Aug 2006 21:34
30 lines
2151 bytes
On 25 Aug 2006 in news.software.readers, Mike Yetto wrote:

> There is was, minding my own business when
> Joe Makowiec wrote...
> 
>> The Win2K machine is showing dates for the current day as ddd
>> hh:nn; for the previous day, it shows hh:nna/p. On the WinXP
>> machine, it's just reversed: the current day shows the (default)
>> hh:nna/p; for the previous day, it shows ddd hh:nn.
>> 
> 
> In the manual search for "[Display] section:" and "DateFmt" which 
> should get you what you want.
> 
>> I tried removing the Xnews registry key on the Win2K machine.  
>> Unfortunately, that didn't change anything.  What do I need to
>> do to get the date format corrected on the Win2K machine?  The
>> manual is silent on the topic.  I tried STFNG, which is where I
>> came up with the registry key idea.
> 
> Points for STFNG, but you could have scored big with RTFM.

I did RTFM; the instances on both machines are running /from the same 
copy of xnews.ini/.  That's why I figured the issue might be with the 
registry.

-- 
Joe Makowiec
http://makowiec.org/
Email: http://makowiec.org/contact/?Joe
Re: XNews Date Format problem
#189902
Author: Joe Makowiec
Date: Fri, 25 Aug 2006 21:35
26 lines
2103 bytes
On 25 Aug 2006 in news.software.readers, Arne Anka wrote:

> I news.software.readers, sa Joe Makowiec utan att tänka först:
> 
>> The Win2K machine is showing dates for the current day as ddd hh:nn;
>> for the previous day, it shows hh:nna/p. On the WinXP machine, it's
>> just reversed: the current day shows the (default) hh:nna/p; for the
>> previous day, it shows ddd hh:nn.
>> 
>> I tried removing the Xnews registry key on the Win2K machine.  
>> Unfortunately, that didn't change anything.  What do I need to do to
>> get the date format corrected on the Win2K machine?  The manual is
>> silent on the topic.  I tried STFNG, which is where I came up with the
>> registry key idea. 
> 
> It's a setting in the Xnews.ini file. You should RTFM ;0)
> 
> Look for Xnews.ini: Global settings - [Display] section:
> DateFmtDay, DateFmtWeek, DateFmtYear, DateFmtShort & DateFmtLong

But both instances are running from the same xnews.ini ...

-- 
Joe Makowiec
http://makowiec.org/
Email: http://makowiec.org/contact/?Joe
Re: XNews Date Format problem
#189911
Author: Guy
Date: Fri, 25 Aug 2006 22:12
43 lines
3013 bytes
Joe Makowiec wrote:

> On 25 Aug 2006 in news.software.readers, Arne Anka wrote:
> 
>> I news.software.readers, sa Joe Makowiec utan att tänka först:
>> 
>>> The Win2K machine is showing dates for the current day as ddd
>>> hh:nn; for the previous day, it shows hh:nna/p. On the WinXP
>>> machine, it's just reversed: the current day shows the (default)
>>> hh:nna/p; for the previous day, it shows ddd hh:nn.
>>> 
>>> I tried removing the Xnews registry key on the Win2K machine.  
>>> Unfortunately, that didn't change anything.  What do I need to
>>> do to get the date format corrected on the Win2K machine?  The
>>> manual is silent on the topic.  I tried STFNG, which is where I
>>> came up with the registry key idea. 
>> 
>> It's a setting in the Xnews.ini file. You should RTFM ;0)
>> 
>> Look for Xnews.ini: Global settings - [Display] section:
>> DateFmtDay, DateFmtWeek, DateFmtYear, DateFmtShort & DateFmtLong
> 
> But both instances are running from the same xnews.ini ...
> 

What is the meaning of...

>>> the (default) hh:nna/p
>>>

Manual shows the default DateFmtDay  as  hh:nn 

  !a/p

Do you have any DateFmt*** entries in the Xnews.ini?

If not why not make the entries as you desire and see if both
machines display is the same.

-- 
Guy
Xnews Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Re: XNews Date Format problem
#189915
Author: »Q«
Date: Fri, 25 Aug 2006 22:39
26 lines
2240 bytes
Joe Makowiec <makowiec@invalid.invalid> wrote in
<news:Xns982AAC45821BAmakowiecatnycapdotrE@24.24.2.165>:

> Here's the setup:
>
>     * XNews is located on a server so it can be accessed from two
>       different computers. This means that everything - newsrc
>       files, .ini files - is the same between computers
>     * One computer runs Windows 2000
>     * The other runs Windows XP Pro
>     * XNews version is 2006.08.22
>
> The Win2K machine is showing dates for the current day as ddd
> hh:nn; for the previous day, it shows hh:nna/p. On the WinXP
> machine, it's just reversed: the current day shows the (default)
> hh:nna/p; for the previous day, it shows ddd hh:nn.

If xnews.ini doesn't have entries for the various DateFmt* display
options, I'd try putting them in there.  (If they are not there, the
defaults should be used, but clearly that's not happening for the Win2K
box.)

-- 
»Q«
     links to Xnews resources:
     <http://xnews.remarqs.net>
Re: XNews Date Format problem
#189917
Author: »Q«
Date: Fri, 25 Aug 2006 22:43
18 lines
1862 bytes
Guy <Use-Reply-To-Address-Header@[127.1]> wrote in
<news:Xns982AAF0E5DEEA2E284CEEC009E394A9D7@127.0.0.1>:

> What is the meaning of...
>
>>>> the (default) hh:nna/p
>
> Manual shows the default DateFmtDay  as  hh:nn
>
>   !a/p

That is what the manual says, but I am using the default and do get the
hh:nna/p.  I reckon Luu changed the default without documenting it.

-- 
»Q«
     links to Xnews resources:
     <http://xnews.remarqs.net>
Re: XNews Date Format problem
#189926
Author: Joe Makowiec
Date: Fri, 25 Aug 2006 23:47
19 lines
1751 bytes
On 25 Aug 2006 in news.software.readers, »Q« wrote:

> If xnews.ini doesn't have entries for the various DateFmt* display
> options, I'd try putting them in there.  (If they are not there, the
> defaults should be used, but clearly that's not happening for the Win2K
> box.)

That's the issue exactly.  If I take just the executable, put it in its 
own directory, and run it, it creates all the files it needs, including 
xnews.ini.  I tried that on both machines, and I'm getting the same 
behavior.

I do have entries for a couple of the DateFmt* options, but since both 
machines are using the same xnews.ini, that shouldn't be a factor.

-- 
Joe Makowiec
http://makowiec.org/
Email: http://makowiec.org/contact/?Joe
Re: XNews Date Format problem
#189927
Author: Guy
Date: Fri, 25 Aug 2006 23:50
14 lines
1993 bytes
Joe Makowiec wrote:

> I do have entries for a couple of the DateFmt* options, but since
> both machines are using the same xnews.ini, that shouldn't be a
> factor. 


Are they DateFmtDay and DateFmtWeek?


-- 
Guy
Xnews Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Re: XNews Date Format problem
#189928
Author: earthing
Date: Fri, 25 Aug 2006 23:52
22 lines
2398 bytes
Joe Makowiec <makowiec@invalid.invalid> scribbled:

> On 25 Aug 2006 in news.software.readers, »Q« wrote:
> 
>> If xnews.ini doesn't have entries for the various DateFmt* display
>> options, I'd try putting them in there.  (If they are not there, the
>> defaults should be used, but clearly that's not happening for the 
Win2K
>> box.)
> 
> That's the issue exactly.  If I take just the executable, put it in its 
> own directory, and run it, it creates all the files it needs, including 
> xnews.ini.  I tried that on both machines, and I'm getting the same 
> behavior.
> 
> I do have entries for a couple of the DateFmt* options, but since both 
> machines are using the same xnews.ini, that shouldn't be a factor.
> 

how does each machine's operating system have the date format set?
reason I ask is if there are no settings in the xnews.ini file
then xnews may be using the settings from the operating system.
Re: XNews Date Format problem
#189932
Author: Joe Makowiec
Date: Sat, 26 Aug 2006 00:14
19 lines
1553 bytes
On 25 Aug 2006 in news.software.readers, Guy wrote:

> Joe Makowiec wrote:
> 
>> I do have entries for a couple of the DateFmt* options, but since
>> both machines are using the same xnews.ini, that shouldn't be a
>> factor. 
> 
> Are they DateFmtDay and DateFmtWeek?

DateFmtWeek=ddd hh:nn
DateFmtYear=mmm dd hh

DateFmtDay uses the default.

-- 
Joe Makowiec
http://makowiec.org/
Email: http://makowiec.org/contact/?Joe
Re: XNews Date Format problem
#189934
Author: »Q«
Date: Sat, 26 Aug 2006 00:33
24 lines
2069 bytes
Joe Makowiec <makowiec@invalid.invalid> wrote in
<news:Xns982ACDE89474BmakowiecatnycapdotrE@24.24.2.167>:

> On 25 Aug 2006 in news.software.readers, Guy wrote:
>
>> Joe Makowiec wrote:
>>
>>> I do have entries for a couple of the DateFmt* options, but since
>>> both machines are using the same xnews.ini, that shouldn't be a
>>> factor.
>>
>> Are they DateFmtDay and DateFmtWeek?
>
> DateFmtWeek=ddd hh:nn
> DateFmtYear=mmm dd hh
>
> DateFmtDay uses the default.

What happens when you change DateFmtDay on the Win2K box?

-- 
»Q«
     links to Xnews resources:
     <http://xnews.remarqs.net/>
Re: XNews Date Format problem
#189938
Author: Joe Makowiec
Date: Sat, 26 Aug 2006 00:58
12 lines
1596 bytes
On 25 Aug 2006 in news.software.readers, »Q« wrote:

> What happens when you change DateFmtDay on the Win2K box?

Never mind, I just figured it out.  The clock on the Win2K box was off by 
a day and a half.  Guess it's time for a new CMOS battery...  Thanks for 
sticking with this one.

-- 
Joe Makowiec
http://makowiec.org/
Email: http://makowiec.org/contact/?Joe
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads