Change fro toLocaleDateString to toLocaleString so that we get the date as well for facebook metadata

Transactions
= 2017-09-14 19:25:27 -06:00
parent 7ee532b6fc
commit 213c678c80
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ function getEventMeta(req, res, id){
<meta property="og:url" content="`+ evntUrl +`"/> <meta property="og:url" content="`+ evntUrl +`"/>
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:title" content="` + event.title + `" /> <meta property="og:title" content="` + event.title + `" />
<meta property="og:description" content="` + nd.toLocaleDateString() + ` | ` + event.description + `" /> <meta property="og:description" content="` + nd.toLocaleString() + ` | ` + event.description + `" />
<meta property="og:image" content="` + imageUrl + `"/> <meta property="og:image" content="` + imageUrl + `"/>
</head> </head>
<body> <body>