-
Notifications
You must be signed in to change notification settings - Fork 397
Conversation
if its number it will sent as string! using this check: http://stackoverflow.com/questions/18082/validate-numbers-in-javascript-isnumeric
Hi Almog, Can you please explain the issue your commit is trying to fix? Thanks, |
if I send time(miliseconds) to the filter it not recognize it as time, but On Sat, Sep 28, 2013 at 1:51 AM, Uri Shaked notifications@github.comwrote:
|
And doesn't passing 'X' as an argument to the filter achieve the same? i.e. |
No.. I mean to translate If you wish to translate timestamp to Date object, you must send a number My commit will recognize if the string is number, and if so it will parse On Sat, Sep 28, 2013 at 2:02 AM, Uri Shaked notifications@github.comwrote:
|
Interesting, do you have any idea why does it pass it as a string for you? I just tested the following |
cool.
And I set it as integer in the object(from Date object). Sabbath Shalom! |
So in your case |
This is pretty wired.. but it seems that when I run On Sat, Sep 28, 2013 at 2:49 PM, Uri Shaked notifications@github.comwrote:
|
I see... Well, the fix seems appropriate then. Can you please make sure it passed jshint + tests and also create a new test case for your fix? You can easily run the tests + jshint checks by executing The tests sit in Thanks :-) |
done :) (btw, cool! thanks to you I now used bower grunt and angular-tests for the first time) |
fixes amDateFormat unixdatetime bug
Excellent, hope you had a positive experience with them :-) |
No description provided.