# مشكلة نطاق التواريخ لتقارير المنشورات والمواضيع الجديدة

**URL:** <https://meta.discourse.org/t/date-range-issue-for-posts-and-new-topics-report/84612>\
**Category:** Bug\
**Created:** [5 أبريل 2018، 12:43ص UTC](https://meta.discourse.org/t/date-range-issue-for-posts-and-new-topics-report/84612 "2018-04-05T00:43:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![BenLeong](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benleong/32/60951_2.png) [@BenLeong](https://meta.discourse.org/u/BenLeong)\
**Post date:** [5 أبريل 2018، 12:43ص UTC](https://meta.discourse.org/t/date-range-issue-for-posts-and-new-topics-report/84612/1 "2018-04-05T00:43:08Z")

</div>

There seem to be a few differences between the data that’s displayed via the **Graph** and **Table** views for the admin panel reports, and the version available for export via CSV.

This example is from the Table view of `/admin/reports/posts`, which seems to be including the date immediately after the selected range (April 1st, instead of ending on March 31).

 ![10%20am](https://global.discourse-cdn.com/meta/original/3X/d/4/d44503e2fa3fe007836392654e6fb88bc7be2eba.png)

The Graph view of that page shows the same range, also ending with “zero posts” on April 1.

 ![26%20am](https://global.discourse-cdn.com/meta/original/3X/a/4/a4590530a7d2ca34c564fa10f014d593e0d4b3ab.png)

However, the data export for this range doesn’t include the additional date, ending on Mar 31, with a value of zero for that day:  
 ![12%20am](https://global.discourse-cdn.com/meta/original/3X/1/a/1a0ac6a98a12781abe0d169f3c9689ada0cd88d8.png)

It’s also worth noting that the last day in the range (both the “extra” day in the Admin/Reports view, and the actual last day from the CSV export) always seems to show zero posts/topics. Selecting a broader range shows that there actually were posts made on that day, though:

 ![40%20am](https://global.discourse-cdn.com/meta/original/3X/2/6/2696c263fda32c8a96cbee3b4434de24630de802.png)

@neil & @travis - this is the issue we discussed earlier today.

---

_[View the full topic](https://meta.discourse.org/t/date-range-issue-for-posts-and-new-topics-report/84612)._
