mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Add variables for medium-length date display
This commit is contained in:
parent
13be267efb
commit
e391fc04f0
2 changed files with 3 additions and 3 deletions
|
|
@ -15,12 +15,12 @@ script(type='text/ng-template', id='modals/member.html')
|
|||
|
|
||||
=env.t('memberSince')
|
||||
|
|
||||
| {{::timestamp(profile.auth.timestamps.created)}} -
|
||||
| {{::profile.auth.timestamps.created | date:env.t('mediumdate')}} -
|
||||
li(ng-show='::profile.auth.timestamps.loggedin')
|
||||
|
|
||||
=env.t('lastLoggedIn')
|
||||
|
|
||||
| {{::timestamp(profile.auth.timestamps.loggedin)}} -
|
||||
| {{::profile.auth.timestamps.loggedin | date:env.t('mediumdate')}} -
|
||||
h3=env.t('stats')
|
||||
.label.label-info {{:: {warrior:env.t("warrior"), wizard:env.t("mage"), rogue:env.t("rogue"), healer:env.t("healer")}[profile.stats.class] }}
|
||||
include ../profiles/stats
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ li(bindonce='list', id='task-{{::task.id}}', ng-repeat='task in obj[list.type+"s
|
|||
// if Todos, the due date
|
||||
fieldset.option-group(ng-if='task.type=="todo" && !task.challenge.id')
|
||||
legend.option-title=env.t('dueDate')
|
||||
input.option-content.datepicker(type='text', datepicker-popup='MM/dd/yyyy', ng-model='task.date', is-open='datepickerOpened', ng-click='datepickerOpened = true')
|
||||
input.option-content.datepicker(type='text', datepicker-popup=env.t('mediumdate'), ng-model='task.date', is-open='datepickerOpened', ng-click='datepickerOpened = true')
|
||||
|
||||
// Tags
|
||||
fieldset.option-group(ng-if='!$state.includes("options.social.challenges")')
|
||||
|
|
|
|||
Loading…
Reference in a new issue