TypiCMS-TeamGamayunSoftUni / Base

Multilingual and modular CMS built with Laravel 5.2
MIT License
4 stars 1 forks source link

[News]: News with dates in the future are displayed before the date is reached #31

Open ivamladenova opened 8 years ago

ivamladenova commented 8 years ago

When the user creates a news article with a future date, it is directly posted on the frontpage, instead of being invisible until the set date is reached.

Steps:

  1. Log in with admin user.
  2. Enter the News section.
  3. Press on the "New News" section.
  4. Fill out the Title and Body fields.
  5. Set the date field to a date in the future.
  6. Press Save and Exit.
  7. Open the website frontpage.

Expected behaviour: For the new article to not be visible before the set date is reached. Actual behaviour: The article is posted and visible on the frontpage with a future date.