mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-18 05:53:24 +01:00
14 lines
296 B
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
|
|
}
|
|
}
|