added duration field to reminder and restructured remind text

added general duration formatting to freemarker (its a builtin method currently
added source channel attribute to starboard post
added exception logging to immediate reminders
This commit is contained in:
Sheldan
2020-04-21 21:54:47 +02:00
parent 7b56b89157
commit ff8817f765
11 changed files with 117 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
<#if amount gt 1>
${amount} days
<#else>
1 day
</#if>

View File

@@ -0,0 +1,5 @@
<#if amount gt 1>
${amount} hours
<#else>
1 hour
</#if>

View File

@@ -0,0 +1,5 @@
<#if amount gt 1>
${amount} minutes
<#else>
1 minute
</#if>

View File

@@ -0,0 +1,5 @@
<#if amount gt 1>
${amount} seconds
<#else>
1 second
</#if>