Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sethist
· 13y ago · 0 comments
I was referring to the live demo at
http://stripe.github.com/jquery.payment/example/
. Either way, I wouldn't consider the library interpreting 113 as 11/3 as a "working".
Comments
[–]
zaidf
13y ago
So what do you suggest "113" should be interpreted as?
[–]
sethist
OP
13y ago
There are three ways to interpret it. It is either 11/3, 1/13, or an error. Since 11/3 isn't a valid date, I think it is safe to rule that out as an incorrect interpretation. Either of the other two interpretations seem acceptable to me.
[–]
aiiane
13y ago
Er, since when is 11/3 not a valid date?
[–]
tracker1
13y ago
Not for a credit card expiration date...
[–]
Skywing
13y ago
I think he's suggesting that 113 should be interpreted as 1/13. I'm not sure how simple that logic would be to implement, though.
[–]
alttab
13y ago
113 is ambiguous. Its an error