You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
3.3 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. var today = new Date().clearTime();
  16. var eventList = {
  17. "evts": [{
  18. "id": 1001,
  19. "cid": 1,
  20. "title": "Vacation",
  21. "start": today.add(Date.DAY, -20).add(Date.HOUR, 10),
  22. "end": today.add(Date.DAY, -10).add(Date.HOUR, 15),
  23. "ad": false,
  24. "notes": "Have fun"
  25. },
  26. {
  27. "id": 1002,
  28. "cid": 2,
  29. "title": "Lunch with Matt",
  30. "start": today.add(Date.HOUR, 11).add(Date.MINUTE, 30),
  31. "end": today.add(Date.HOUR, 13),
  32. "ad": false,
  33. "loc": "Chuy's!",
  34. "url": "http://chuys.com",
  35. "notes": "Order the queso",
  36. "rem": "15"
  37. },
  38. {
  39. "id": 1003,
  40. "cid": 3,
  41. "title": "Project due",
  42. "start": today.add(Date.HOUR, 15),
  43. "end": today.add(Date.HOUR, 15),
  44. "ad": false
  45. },
  46. {
  47. "id": 1004,
  48. "cid": 1,
  49. "title": "Sarah's birthday",
  50. "start": today,
  51. "end": today,
  52. "notes": "Need to get a gift",
  53. "ad": true
  54. },
  55. {
  56. "id": 1005,
  57. "cid": 2,
  58. "title": "A long one...",
  59. "start": today.add(Date.DAY, -12),
  60. "end": today.add(Date.DAY, 10).add(Date.SECOND, -1),
  61. "ad": true
  62. },
  63. {
  64. "id": 1006,
  65. "cid": 3,
  66. "title": "School holiday",
  67. "start": today.add(Date.DAY, 5),
  68. "end": today.add(Date.DAY, 7).add(Date.SECOND, -1),
  69. "ad": true,
  70. "rem": "2880"
  71. },
  72. {
  73. "id": 1007,
  74. "cid": 1,
  75. "title": "Haircut",
  76. "start": today.add(Date.HOUR, 9),
  77. "end": today.add(Date.HOUR, 9).add(Date.MINUTE, 30),
  78. "ad": false,
  79. "notes": "Get cash on the way"
  80. },
  81. {
  82. "id": 1008,
  83. "cid": 3,
  84. "title": "An old event",
  85. "start": today.add(Date.DAY, -30),
  86. "end": today.add(Date.DAY, -28),
  87. "ad": true,
  88. "notes": "Get cash on the way"
  89. },
  90. {
  91. "id": 1009,
  92. "cid": 2,
  93. "title": "Board meeting",
  94. "start": today.add(Date.DAY, -2).add(Date.HOUR, 13),
  95. "end": today.add(Date.DAY, -2).add(Date.HOUR, 18),
  96. "ad": false,
  97. "loc": "ABC Inc.",
  98. "rem": "60"
  99. },
  100. {
  101. "id": 1010,
  102. "cid": 3,
  103. "title": "Jenny's final exams",
  104. "start": today.add(Date.DAY, -2),
  105. "end": today.add(Date.DAY, 3).add(Date.SECOND, -1),
  106. "ad": true
  107. },
  108. {
  109. "id": 10011,
  110. "cid": 1,
  111. "title": "Movie night",
  112. "start": today.add(Date.DAY, 2).add(Date.HOUR, 19),
  113. "end": today.add(Date.DAY, 2).add(Date.HOUR, 23),
  114. "ad": false,
  115. "notes": "Don't forget the tickets!",
  116. "rem": "60"
  117. }]
  118. };