mirror of https://github.com/zulip/zulip.git
Add fake message timestamp info needed for new date separators.
(imported from commit 20a29af1f140385f37fc1dff4e278304a2c16c4a)
This commit is contained in:
parent
58780f0637
commit
4567bcea1a
|
@ -13,6 +13,7 @@ var tutorial_stream_info = {"design": {"color": "#76ce90"},
|
||||||
|
|
||||||
// Each message object contains the minimal information necessary for it to be
|
// Each message object contains the minimal information necessary for it to be
|
||||||
// processed by our system for adding messages to your feed.
|
// processed by our system for adding messages to your feed.
|
||||||
|
var today = new Date().getTime() / 1000;
|
||||||
var fake_messages = [
|
var fake_messages = [
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
|
@ -24,6 +25,7 @@ var fake_messages = [
|
||||||
stream: "design",
|
stream: "design",
|
||||||
subject: "screenshots",
|
subject: "screenshots",
|
||||||
timestr: "12:11",
|
timestr: "12:11",
|
||||||
|
timestamp: today,
|
||||||
type: "stream"
|
type: "stream"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -35,6 +37,7 @@ var fake_messages = [
|
||||||
display_reply_to: "Jeff Arnold, Waseem Daher",
|
display_reply_to: "Jeff Arnold, Waseem Daher",
|
||||||
reply_to: true,
|
reply_to: true,
|
||||||
timestr: "12:12",
|
timestr: "12:12",
|
||||||
|
timestamp: today,
|
||||||
type: "private"
|
type: "private"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -46,6 +49,7 @@ var fake_messages = [
|
||||||
display_reply_to: "Jeff Arnold, Waseem Daher",
|
display_reply_to: "Jeff Arnold, Waseem Daher",
|
||||||
reply_to: true,
|
reply_to: true,
|
||||||
timestr: "12:12",
|
timestr: "12:12",
|
||||||
|
timestamp: today,
|
||||||
type: "private"
|
type: "private"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -58,6 +62,7 @@ var fake_messages = [
|
||||||
stream: "design",
|
stream: "design",
|
||||||
subject: "screenshots",
|
subject: "screenshots",
|
||||||
timestr: "12:15",
|
timestr: "12:15",
|
||||||
|
timestamp: today,
|
||||||
type: "stream"
|
type: "stream"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -70,6 +75,7 @@ var fake_messages = [
|
||||||
stream: "design",
|
stream: "design",
|
||||||
subject: "screenshots",
|
subject: "screenshots",
|
||||||
timestr: "12:15",
|
timestr: "12:15",
|
||||||
|
timestamp: today,
|
||||||
type: "stream"
|
type: "stream"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -87,6 +93,7 @@ var fake_messages = [
|
||||||
stream: "social",
|
stream: "social",
|
||||||
subject: "lunch",
|
subject: "lunch",
|
||||||
timestr: "12:20",
|
timestr: "12:20",
|
||||||
|
timestamp: today,
|
||||||
type: "stream"
|
type: "stream"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -99,6 +106,7 @@ var fake_messages = [
|
||||||
stream: "social",
|
stream: "social",
|
||||||
subject: "lunch",
|
subject: "lunch",
|
||||||
timestr: "12:20",
|
timestr: "12:20",
|
||||||
|
timestamp: today,
|
||||||
type: "stream"
|
type: "stream"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -111,6 +119,7 @@ var fake_messages = [
|
||||||
stream: "devel",
|
stream: "devel",
|
||||||
subject: "meeting",
|
subject: "meeting",
|
||||||
timestr: "12:34",
|
timestr: "12:34",
|
||||||
|
timestamp: today,
|
||||||
type: "stream"
|
type: "stream"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue