Bruno Haible wrote:
Looking at wikipedia [1], I would find it good if
1) the function was called 'parse_duration', not 'parse_time' (since "time"
often denotes a time instant within a day),
2) the three duration formats described in [1] were also supported.
Hi Bruno,
You'll find it "g
> 3? I only see one, though with lots of optional fields.
I meant the three: PnYnMnDTnHnMnS, PnW, and PT.
> That format also doesn't allow for visual space.
Yes, it's more meant for durations that are exchanged between software,
not entered by humans.
> The little question remaining though is
Hi Bruno,
On Sun, Nov 2, 2008 at 10:52 AM, Bruno Haible <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Bruce Korb wrote:
>> I had need of a function to convert some variation of a time (duration)
>> specification into a count of seconds. For your amusement and optional
>> inclusion...(I *think* I've got pa
Hi,
Bruce Korb wrote:
> I had need of a function to convert some variation of a time (duration)
> specification into a count of seconds. For your amusement and optional
> inclusion...(I *think* I've got papers on file for gnulib)
>
> It accepts several formats:
>
>[DD d] [HH h] [MM m] [