Add variables for medium-length date display

This commit is contained in:
Verabird 2014-12-22 22:23:11 -05:00
parent 13be267efb
commit e391fc04f0
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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")')