cache-nix-action icon indicating copy to clipboard operation
cache-nix-action copied to clipboard

[FEATURE] Support human-readable values for the `purge-last-accessed` and `purge-created` inputs

Open deemp opened this issue 7 months ago • 0 comments

Description of a problem the feature solves

Currently, users have to specify the purge-last-accessed and purge-created inputs as the number of seconds. E.g., 3600 to mean one hour.

Readers have to mentally convert numbers to a human-readable value.

Writers may unintentionally miss some digits in the number.

Describe the solution you'd like

For the purge-last-accessed and purge-created inputs, use the ISO 8601 syntax as supported by Temporal.

deemp avatar Mar 10 '25 19:03 deemp