egroupware/etemplate/js/test/et2_test_dates.json
2011-08-30 20:50:55 +00:00

14 lines
294 B
JSON

var d = new Date();
var _date = Math.round(d.valueOf() / 1000);
var date_test_data = {
content: {
"date": _date,
"date_time":_date,
"time":_date,
"duration": 61,
"time_since": (_date - 2628000 -86400 -3600), // 1 month, 1 day, 1 hour
"ro_date": _date,
"ro_date_time": _date
}
}