Closed cgianelle closed 2 years ago
Just to add to this
toSeconds(parse(`P0.5D`))
returns 0
but also
parse(`P0.5DT0.5M`)
returns an object that is
{
days: 0.5,
minutes: 0.5,
... others are zero
}
but the iso spec says only the least significant can have a decimal.
updated logic to work with fractions like proposal-temporal handles it
updated logic to work with fractions like proposal-temporal handles it
Certain instances of fractional time don't seem to compute properly when minutes are involved, for instance:
Are my expectations here correct?