🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Sylpt Wed, 15 Mar 2000 00:00
[Xnews] Date Format and .ini Changes?
#59242
Author: Sylpt
Date: Wed, 15 Mar 2000 00:00
14 lines
1115 bytes
When I enter a ng and have the whole list of articles, my date column 
currently looks like Sat 11, Sun 12, 11:03a, 12:18p.  Say if there is 4 
articles.  I understand what those mean, Sat the 11th, Sun the 12th, today 
at 1103am and 1218pm.

Now my question is:

Can I get it to show yy mm dd then 24 hr clock or even regular time or some 
combination there of and how do I go about making those changes in the ini. 
file.  I looked at the manual and played around with that with no luck.

TIA

Re: [Xnews] Date Format and .ini Changes?
#59256
Author: Sylpt
Date: Thu, 16 Mar 2000 00:00
28 lines
1645 bytes
On 15 Mar 2000, marti@mainews.com.invalid (GM) wrote:

>On 15 Mar 2000 Sylpt wrote:

>>Can I get it to show yy mm dd then 24 hr clock or even regular time or
>>some combination there of and how do I go about making those changes in

>>the ini. file.  I looked at the manual and played around with that with
>>no luck. 

>A look in the manual under the display section of xnews.ini
>should show you the way.


Thanks for the reply, however, I did that already and read the display 
section, regards dates, times, etc.  So from what your telling me, I was on 
the right track.  Now my problem would be how would I edit the .ini file to 
make the changes.  Like I said above I've played around with the settings:

DateFmtLong  see below  dd mmm yyyy hh:nn:ss   also, %D variable
Use24hrClock boolean   0

Could you give me an example of how the change would be written in the .ini 
file.  I'm not quite sure.

Thanks.

Re: [Xnews] Date Format and .ini Changes?
#59263
Author: Luu Tran
Date: Thu, 16 Mar 2000 00:00
52 lines
2361 bytes
sylpt@hotmail.com (Sylpt) wrote in
<8EF96D70Dsylpthotmailcom@207.126.101.100>: 

>Thanks for the reply, however, I did that already and read the display
>section, regards dates, times, etc.  So from what your telling me, I
>was on the right track.  Now my problem would be how would I edit the
>.ini file to make the changes.

[Sorry.  Among the assumptions I make about people who use Xnews is that 
they all know how to edit ini files.  It's not necessarily reasonable; 
just convenient to me.]

Find the ini file in Windows Explorer.  Double click on it.  This should 
open it up in Notepad.  Ini files are divided into sections like so

[Section1]
......

[Section2]
......

Within each section are keys and values like so

key1=value1
key2=value2
etc.

Now, the manual says date formats are under [Display], so find the 
[Display] section.  Look to see if the setting you want to change is 
already there.  If not, just add it _on a line by itself_.  It doesn't 
matter where, just as long as you put it between [Display] and 
[some_other_section].

An example:

DateFmtWeek=yy mm dd hh:nn

will display march 14, 2000, 6:12pm as 00 03 14 18:12

There are a bunch of DateFmt????? you can change.  You can set them all 
to the same values if you like.

Note; Lines starting with ; are comments.  That is, they're just there 
for the benefit of the human readers and have no meaning to the program.

HTH

-- 
  luu 
author of Xnews - http://xnews.3Dnews.net

Re: [Xnews] Date Format and .ini Changes?
#59264
Author: GM
Date: Thu, 16 Mar 2000 00:00
27 lines
1497 bytes
On 15 Mar 2000 Sylpt wrote:

>When I enter a ng and have the whole list of articles, my date column 
>currently looks like Sat 11, Sun 12, 11:03a, 12:18p.  Say if there is 4 
>articles.  I understand what those mean, Sat the 11th, Sun the 12th,
>today at 1103am and 1218pm.
>
>Now my question is:
>
>Can I get it to show yy mm dd then 24 hr clock or even regular time or
>some combination there of and how do I go about making those changes in
>the ini. file.  I looked at the manual and played around with that with
>no luck. 
>
>TIA
>

A look in the manual under the display section of xnews.ini
should show you the way.

-- 
Gregory

Make this a valid address:
put the land before the news.

Re: [Xnews] Date Format and .ini Changes?
#59286
Author: Sylpt
Date: Thu, 16 Mar 2000 00:00
25 lines
1633 bytes
On 00-03-16 1407, luutran@geocities_.com.invalid (Luu Tran) wrote:

>DateFmtWeek=yy mm dd hh:nn

>will display march 14, 2000, 6:12pm as 00 03 14 18:12

>There are a bunch of DateFmt????? you can change.  You can set them all 
>to the same values if you like.

>Note; Lines starting with ; are comments.  That is, they're just there 
>for the benefit of the human readers and have no meaning to the program.

Thanks a lot, it worked perfect.  It turns out I was changing the wrong 
date format in the ini.  But i was able to figure everything based on your 
example.

Re: making changes to the ini.  As long as there are people out there who 
are like in this group willing to point a guy in the right direction.  That 
works out fine for me and makes your life a lot easier I'm sure.

Like your program a lot, thanks.



Re: [Xnews] Date Format and .ini Changes?
#59295
Author: Harald Legner
Date: Fri, 17 Mar 2000 00:00
11 lines
1151 bytes
r.dehosson@NO-SPAMchello.nl (Ren� de Hosson) schrieb:

>>On 00-03-16 1429
>             ^^^^
>This year is intended? Is this the arabic year count?

year - month - day time
-- 
Gru�, Harald

Re: [Xnews] Date Format and .ini Changes?
#59299
Author: Dirk Nimmich
Date: Fri, 17 Mar 2000 00:00
12 lines
1540 bytes
Ren� de Hosson wrote:
> sylpt@hotmail.com (Sylpt) wrote in 
> <8EF9D9BB5sylpthotmailcom@207.126.101.100>:

>>On 00-03-16 1429
>             ^^^^
> This year is intended? Is this the arabic year count?

1429 is the time (HHMM) when the posting was sent (recalculated for
time zone -0600). The year is 00 (YY-MM-DD after "On").

Re: [Xnews] Date Format and .ini Changes?
#59303
Author: Sylpt
Date: Fri, 17 Mar 2000 00:00
14 lines
1057 bytes
On 00-03-16 1429, r.dehosson@NO-SPAMchello.nl (Ren� de Hosson) wrote:

>Use24hrClock=1
>DateFmtDay=yy mm dd hh:nn:ss
>DateFmtWeek=yy mm dd hh:nn:ss
>DateFmtYear=yy mm dd hh:nn:ss
>DateFmtShort=yy mm dd hh:nn:ss
>DateFmtLong=yy mm dd hh:nn:ss

>Ren�.

Tks.

Re: [Xnews] Date Format and .ini Changes?
#59308
Author: Harry Austin
Date: Fri, 17 Mar 2000 00:00
28 lines
1700 bytes
sylpt@hotmail.com (Sylpt) wrote: (in part)

>
>Thanks a lot, it worked perfect.  It turns out I was changing the wrong 
>date format in the ini.  But i was able to figure everything based on
>your example.
>
>Re: making changes to the ini.  As long as there are people out there
>who are like in this group willing to point a guy in the right
>direction.  That works out fine for me and makes your life a lot easier
>I'm sure. 
>
>Like your program a lot, thanks.
>
>
The are certainly a lot of us that like Xnews and Luu has done a great job.
That it is free is quite incredible.

One day he may (one hopes) look at improving the interface so that there is 
no need to delve into .ini files and the like. 


-- 
Harry Austin

Remove ".invalid" in address if you intend to reply direct to me

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