Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some date ranges don’t show up in publish index table? #147

Closed
patrickyan opened this issue Oct 3, 2013 · 13 comments
Closed

Some date ranges don’t show up in publish index table? #147

patrickyan opened this issue Oct 3, 2013 · 13 comments

Comments

@patrickyan
Copy link

The dates are present in the entry, but don’t show up in the table. The data source output is fine, too.

screen shot 2013-10-03 at 9 33 39 am
screen shot 2013-10-03 at 9 33 49 am

@nilshoerrmann
Copy link
Contributor

Could you be more specific. What does happen and what do you expect to happen?

@patrickyan
Copy link
Author

Take a look at the screenshots: The date range saved is as shown (2013-10-01 to 2013-10-22). It should show that in the entries table. Some entries show the range, and some only show the first date. The range itself is saved correctly and outputted correctly.

@nilshoerrmann
Copy link
Contributor

Could you please be a bit more specific: all entries contain the range shown in the second image? Or only one of them? Is it always this single range or are there entries with multiple dates?

@patrickyan
Copy link
Author

  1. No, they vary. For example, another one is 2013-10-03 to 2013-10-24, but only 2013-10-03 shows up. Same with another one that has 2013-10-01 to 2013-10-05. However, another entry with 2013-10-09 to 2013-10-31 shows the entire range.

    It seems like it could be related to the first date that is before today? Right now it’s 2013-10-04, and all the ones that start with 2013-10-01, 2013-10-3, etc. do not show the correct range.

  2. Single range only.

@patrickyan
Copy link
Author

But then again, I have another entry that is 2013-10-01 to 2013-11-30, and it shows the range correctly.

@nilshoerrmann
Copy link
Contributor

So this is not about whole ranges missing but about ranges that only display the start date, right?

@patrickyan
Copy link
Author

Correct. The edit view and data sources have the correct ranges. Only the entries table shows incorrect/incomplete data.

@nilshoerrmann
Copy link
Contributor

To debug this I'd need the following data from you for the affected entries:

  1. the values you see in the UI when editing an entry
  2. the values you see in the UI when viewing the section index
  3. the values actually stored in your database

Thanks!

@patrickyan
Copy link
Author

Values in edit view

  1. 2013-10-03 → 2013-10-24
  2. 2013-10-01 → 2013-10-22
  3. 2013-10-01 → 2013-10-15

Values in section index

  1. 2013-10-03
  2. 2013-10-01
  3. 2013-10-01

Values in database

  1. start: 2013-10-03 15:33:37, end: 2013-10-24 15:33:37
  2. start: 2013-10-01 14:59:19, end: 2013-10-22 14:59:19
  3. start: 2013-10-01 15:43:15, end: 2013-10-15 15:43:15

@nilshoerrmann
Copy link
Contributor

Thanks. One last thing: which Symphony and Date and Time versions are you using?

@patrickyan
Copy link
Author

I’m using:

Symphony 2.3.3
Date and Time 3.1.2

nitriques added a commit that referenced this issue Nov 21, 2014
getDatetime is already calling LANG:localizeDate so I do not see the
point of recalling it, specially since we were giving it an html string
(this is the weird part).

I think this fixes #147 or I can't reproduce #147 anymore.
@nilshoerrmann
Copy link
Contributor

Seems to be fixed by 1f18eec – thanks, Nicolas!

@nitriques
Copy link
Member

Great! My pleasure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants