[Forms] Use MM-DD in date-time control

Use month and day instead of day-of-year in date-time
control, WTD-1272.
This commit is contained in:
Victor Woeltjen
2015-06-15 13:01:43 -07:00
parent 0f30e5e840
commit 05a114cc75
2 changed files with 8 additions and 5 deletions

View File

@@ -35,8 +35,8 @@
<span class='field control date'>
<input type='text'
name='date'
placeholder="YYYY-DDD"
ng-pattern="/\d\d\d\d-\d\d\d/"
placeholder="{{format}}"
ng-pattern="/\d\d\d\d-\d\d-\d\d/"
ng-model='datetime.date'
ng-required='ngRequired || partiallyComplete'/>
</span>
@@ -80,4 +80,4 @@
</ng-form>
</div>
</div>