Skip to content

Conversation

@jwineinger
Copy link

Hi,

I made a tiny change to cuteTime which adds support for future dates. While I did add some future time ranges to the default settings, the only required code change was changing:
if (timespan['unit_size'] > 0)
to
if (timespan['unit_size'] != 0)

This allows you to use a negative unit size in order to calculate positive units for future dates (in 5 days, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant