Merge pull request #84 from TouchInstinct/feature/date_formats

date formats updated
This commit is contained in:
Elena Bobkova 2019-07-22 16:29:18 +03:00 committed by GitHub
commit 1d1fc57e5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
<div>
{{ self.formatValueType(field.type.type, field.nullable, objectsLinks, useAnchors) }}
{%- if field.type.type.typeName in ["DateTime", "Date"] -%}
&nbsp;({{ field.type.dateFormat }})
&nbsp;({{ field.type.allDateFormats|join(', ') }})
{%- endif -%}
</div>
<div>{{ field.description | escape }}</div>