Deutsch   English   Français   Italiano  
<85f5d3108a627cfc39c2d496dc1ed1930977516f@i2pn2.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: dxf <dxforth@gmail.com>
Newsgroups: comp.lang.forth
Subject: Re: Parsing timestamps?
Date: Mon, 7 Oct 2024 14:58:28 +1100
Organization: i2pn2 (i2pn.org)
Message-ID: <85f5d3108a627cfc39c2d496dc1ed1930977516f@i2pn2.org>
References: <1f433fabcb4d053d16cbc098dedc6c370608ac01@i2pn2.org>
 <a3365e0c6c574a54f4caa31c3f5ba4f2@www.novabbs.com>
 <24f3b255de9d943acf76851692ec1724@www.novabbs.com>
 <b3eb95a9ff96ee337314e751fbd450c56439d060@i2pn2.org>
 <9531b46a687bdbe61cbe032e0135571f@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 7 Oct 2024 03:58:28 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="908608"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="XPw7UV90Iy7EOhY4YuUXhpdoEf5Vz7K+BsxA/Cx8bVc";
User-Agent: Mozilla Thunderbird
In-Reply-To: <9531b46a687bdbe61cbe032e0135571f@www.novabbs.com>
X-Spam-Checker-Version: SpamAssassin 4.0.0
Content-Language: en-GB
Bytes: 1567
Lines: 16

On 7/10/2024 2:29 pm, FFmike wrote:
> On Mon, 7 Oct 2024 2:10:56 +0000, dxf wrote:
>> The problem is handling the partial forms.
>>
>> s" 6:0:0" /t
>> s" 6:0" /t
>> s" 6" /t
> 
> Not a problem on my system.
> 
> s" 12" /t . . . 0 0 12  ok<$,ram>
> s" 12:13" /t . . . 0 13 12  ok<$,ram>
> s" 12:13:0" /t . . .  0 13 12  ok<$,ram>

That treats '12' as hours and '12:13' as hours/min when it should be
secs and min/secs respectively.