I am getting very strange data from the dates, and I just cannot see why?!?
<b>{{ (lines.date*1000) | date:"dd-mm-yyyy" }}: </b>
Here is the data in my lines array:
"lines" : [
{
"text" : "was CREATED Tue Jul 11 2017 from Booking.com: ThaiHome by ThaiHome Staff",
"date" : 1499754031
},
{
"date" : 1499754031,
"text" : "wrote message: This is the message the NEW user writes to manager"
},
{
"date" : 1499754140,
"text" : "wrote message: This is the message the NEW user writes to manager"
},
{
"date" : 1499754140,
"text" : "wrote message: This is the message the NEW user writes to manager"
},
And here is the output
11-20-2017: was CREATED Tue Jul 11 2017 from Booking.com: ThaiHome by ThaiHome Staff
11-20-2017: wrote message: This is the message the NEW user writes to manager
11-22-2017: wrote message: This is the message the NEW user writes to manager
11-22-2017: wrote message: This is the message the NEW user writes to manager
11-22-2017: wrote message: This is the message the NEW user writes to manager
11-24-2017: wrote message: This is the message the NEW user writes to manager
11-24-2017: wrote message: This is the message the NEW user writes to manager
11-24-2017: wrote message: This is the message the NEW user writes to manager
Why am I getting these strange dates instead of getting the usual real dates?