The code below
nlp('Wednesday, January 10, 2018 7:20 AM').dates().data()[0].date;
returns
{
month: 0,
date: 10,
weekday: 3,
year: null, // <- here should be 2018
named: null,
time: {
logic: null,
hour: 7,
minute: 20,
second: null,
timezone: null
}
}
hey Hongbo! thanks. you're right. I will check it out this week.
hey Hongbo, got this fixed and will deploy it today.
thanks!