Date formatting in ng-grid

4,911 views
Skip to first unread message

Leonardo Ribeiro

unread,
May 29, 2013, 12:35:16 PM5/29/13
to ang...@googlegroups.com
Hi,

How do i format a cell (date) in ng-grid with "dd/MM/yyyy" ?

I try 

'date:dd/MM/yyyy' and doesn't work

--
[]'s
Leonardo

Linux User #488650
Ubuntu User #27045
Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece

Grant Rettke

unread,
May 29, 2013, 1:33:47 PM5/29/13
to ang...@googlegroups.com
{ field: 'paidOn',
displayName: 'Paid',
cellFilter: 'date:\'MM/dd/yyyy\'',
width: 'auto'
},
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+u...@googlegroups.com.
> To post to this group, send email to ang...@googlegroups.com.
> Visit this group at http://groups.google.com/group/angular?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Grant Rettke | ACM, AMA, COG, IEEE
gre...@acm.org | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson
Reply all
Reply to author
Forward
0 new messages