egroupware_official/etemplate/js/test/et2_test_dates.json

14 lines
296 B
JSON

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