Active
Project:
Slickgrid
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2011 at 21:20 UTC
Updated:
1 Sep 2011 at 00:20 UTC
Jump to comment: Most recent file
Not sure what's going on, but if you display a date in slickgrid it outputs the same value for every field. At first I thought it was the PHP Date format (http://us.php.net/manual/en/function.date.php) but it's not that.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Members - Iraq Veterans Against the War.jpeg | 32.4 KB | bryancasler |
Comments
Comment #1
ben_scott commentedHi -
Sorry, I can't recreate this bug - for me, the date field output is different for each node & is formatted the same as if html list is used as the view style. Can you provide a bit more info please & I'll investigate further.
Cheers,
Ben
Comment #2
bryancasler commentedSee the attached screenshot. This date is being displayed as a custom php format "M jS". I also tried it with several other formats and the same thing happens. Some weird unrecognizable string ends up in every field.
Comment #3
ben_scott commentedWeird - what date widget/settings is the field using? And what happens if you change the view style to something other than slickgrid?
Comment #4
bryancasler commentedI think I've figured the cause out. I'm on D7, but I've migrated from D6 so I am stuck using the profiles module for now. The field I am trying to display is a profile field.
If I add in a field that is not managed by the profile module (ie "User: Created Date") then the date is properly displayed.
I'm not sure what it would take to support these fields, but I'd be happy to help in any way I can.
Comment #5
ben_scott commentedHi -
Is that the http://drupal.org/project/profile2 module? And can you confirm the date is displaying correctly in other view styles - is it just in slickgrid the date breaks?
Cheers,
Ben
Comment #6
bryancasler commentedI am not using the profile 2 module. The date fields do display properly in other views, it is only the slick grid view that is outputting them like this. If you are trying to find the profile module on a D7 install you should know that drupal core does include a "profile" module, but it is hidden by default and only displayed if your site has been migrated from D6.
Comment #7
ben_scott commentedAh OK, thanks - I thought the core profile module had been deprecated for D7. I'll install it & see if I can track down what the problem is...
Comment #8
bryancasler commentedThanks Ben. If you need anything from me, just ask. I'm loving this module!
Comment #9
bryancasler commentedHey Ben, just wondering if there was any progress on this issue? Is there anything I can do to help?