html5 - how to set correct date format for user view in angularjs editable-date -
basically have editable-date field in angular app shown user like: mm/dd/yyyy
when field not selected
but want show user as: dd/mm/yyyy
. set format display user when field not selected ?
make custom directive require ngmodel , changes model view value. (this in case i'm working breeze entities example, , don't want change value or affect entitystate)
if doesn't bother you, use moment format date how like. (moment powerful js library advanced format options)
Comments
Post a Comment