You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found an issue while testing some possibile users input, and what i would normally write would be "let's meet at 5,30 pm" but it only recognize 5:30 pm.
This is my code:
let doc = nlp("let's meet at 5,30 pm");
const jsonDate = doc.dates().get()[0];
thanks pietrociatta - is 5,30 a custom in some countries? I've never seen that before.
You're right- unfortunately there is no way to define custom date interpreters for things like this. There should be!
I'm cautious about doing both 5,30 and 5.30 because it will interfere with the number parser - both of these are valid numbers. Open to it though, if you know something I don't.
cheers
I found an issue while testing some possibile users input, and what i would normally write would be "let's meet at 5,30 pm" but it only recognize 5:30 pm.
This is my code:
I cannot see if the issue is mine because on compromise.cool example the calendar only specifies the date
Same problem also with 5.30 pm
The text was updated successfully, but these errors were encountered: