[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: PSPP 1.2.0 - TIME format outputs single hours digit
From: |
Ben Pfaff |
Subject: |
Re: PSPP-BUG: PSPP 1.2.0 - TIME format outputs single hours digit |
Date: |
Sat, 9 Feb 2019 22:28:08 -0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sat, Feb 09, 2019 at 01:57:24AM +0000, Nolan Void wrote:
> In PSP 1.2.0. Confirmed on Gentoo 4.14.83, Ubuntu Studio 4.4.0-141
> low-latency, and FreeBSD 11.2-RELEASE-p8.
>
> Bug description:
>
> The PSPP manual section "6.7.4.5 Time and Date Formats" shows a
> template of 'hh:MM:SS.ss' for the TIME format, and later states
> that 'hh' should "Output as at least two digits". The example,
> '01:31:17.01' shows as much. However, for hours less than 10, PSPP
> 1.2.0 outputs a single digit.
>
> To reproduce the bug, run the following in a Bourne-derived shell:
>
> echo 'data list /dt 1-10 (sdate) tm 12-19 (time).
> begin data.
> 2013/03/16 10:32:15
> 2017/12/01 03:38:47
> end data.
> list.' | pspp
Thanks for the report.
I fixed the problem. The fix is in the master branch and will appear in
the next release.