Skip to content

circe-duration-string and related issues #281

@defanor

Description

@defanor

Bitlbee, as well as some IRC servers, don't seem to provide time on
netmerge, or Circe doesn't parse it correctly. In any case, would be
nice to handle the case when the value is zero, and just not show a
date then.

That also exposes another issue: strings such as "47 years 2 months 10
days 11 hours 46 minutes 24 seconds ago" are somewhat wrong (it's not
47 years since 1970 now, while (circe-duration-string (float-time))
claims that), and perhaps showing exact dates would be more useful
anyway, if it's more than a few days (maybe a week, or a month).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions