{"action":"closed","issue":{"url":"https://api.github.com/repos/Financial-Times/n-message-prompts/issues/26","labels_url":"https://api.github.com/repos/Financial-Times/n-message-prompts/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Financial-Times/n-message-prompts/issues/26/comments","events_url":"https://api.github.com/repos/Financial-Times/n-message-prompts/issues/26/events","html_url":"https://github.com/Financial-Times/n-message-prompts/issues/26","id":103213201,"number":26,"title":"Discount message prompt doesn't show when show date is less than today (i.e., is a previous day)","user":{"login":"ifyio","id":675909,"avatar_url":"https://avatars.githubusercontent.com/u/675909?v=3","gravatar_id":"","url":"https://api.github.com/users/ifyio","html_url":"https://github.com/ifyio","followers_url":"https://api.github.com/users/ifyio/followers","following_url":"https://api.github.com/users/ifyio/following{/other_user}","gists_url":"https://api.github.com/users/ifyio/gists{/gist_id}","starred_url":"https://api.github.com/users/ifyio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifyio/subscriptions","organizations_url":"https://api.github.com/users/ifyio/orgs","repos_url":"https://api.github.com/users/ifyio/repos","events_url":"https://api.github.com/users/ifyio/events{/privacy}","received_events_url":"https://api.github.com/users/ifyio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Financial-Times/n-message-prompts/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-26T08:57:41Z","updated_at":"2015-08-27T08:58:56Z","closed_at":"2015-08-27T08:58:56Z","body":"This can occur if the message prompt wasn't closed and the user left the site and came back the next day. In such a situation, the message prompt will never again be displayed because the current logic only shows the message prompt when the show date is todays date. This logic has to be changed to show the prompt when it is todays date or less."}}