2011-08-22 20:18:29 +02:00
|
|
|
var d = new Date();
|
2011-08-29 23:15:53 +02:00
|
|
|
var _date = Math.round(d.valueOf() / 1000);
|
2011-08-22 20:18:29 +02:00
|
|
|
var date_test_data = {
|
|
|
|
content: {
|
2011-08-29 23:15:53 +02:00
|
|
|
"date": _date,
|
|
|
|
"date_time":_date,
|
2011-08-31 21:58:38 +02:00
|
|
|
"time":"12:19",
|
2011-08-30 22:50:55 +02:00
|
|
|
"duration": 61,
|
|
|
|
"time_since": (_date - 2628000 -86400 -3600), // 1 month, 1 day, 1 hour
|
2011-08-29 23:15:53 +02:00
|
|
|
"ro_date": _date,
|
|
|
|
"ro_date_time": _date
|
2011-08-22 20:18:29 +02:00
|
|
|
}
|
|
|
|
}
|