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
Hi! I have tried the Date.create function with severals date patterns and it works perfectly but I found that it only works if the string only includes the date. If the string has other parts before/after the date, it fails. I think the problem is the way the format RegEx are built:
I want to be able to parse a date from the string "New York, 22 August" the same way as from the string "22 August". Is there a way to solve my problem with Sugar?
Thank you in advance.
The text was updated successfully, but these errors were encountered:
Hi! I have tried the
Date.create
function with severals date patterns and it works perfectly but I found that it only works if the string only includes the date. If the string has other parts before/after the date, it fails. I think the problem is the way the format RegEx are built:Sugar/lib/date.js
Line 2297 in 3ca5781
I want to be able to parse a date from the string
"New York, 22 August"
the same way as from the string"22 August"
. Is there a way to solve my problem with Sugar?Thank you in advance.
The text was updated successfully, but these errors were encountered: