Skip to content

Give it a date from a Statamic date field and it will spit out "x days, x hours"

Notifications You must be signed in to change notification settings

seanwash/statamic-days-hours-until

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Days, Hours Until

Pop this folder into your _add-ons folder and you're good. Modifier expects input in the form of a string: year-month-day.

Example output: 97 days, 6 hours
Example usage: {{ deadline_date|days_hours_until }}

About

Give it a date from a Statamic date field and it will spit out "x days, x hours"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages