I am trying to create a view of the expiry date and am choosing time hence - it shows something like 4 weeks and 1 day, I want it to show in days instead i.e. 29 days. I have tried using the custom formatter field that shows when time hence is chosen but it doesnt change the format.
Any ideas how to get it to show total days instead of weeks and days?
Comments
Comment #1
jeremymcminn commentedStill trying to get around this issue - cant seem to find anything on here
Comment #2
blueblot commentedHi
have you found a solution yet?
I'm also interested in a possible solution.
Blueblot
Comment #3
jeremymcminn commentedNothing unfortunately BlueBlot, thought this would be fairly simple with the Views GUI, but its not. I'm sure if my PHP knowledge wasnt so basic I'd be able to create some function for template.php but no idea where to start.
Comment #4
jeremymcminn commentedPossible something along these lines?
http://knackforge.com/blog/sivaji/how-alter-views-field-output-programma...
Comment #5
blueblot commentedhi
I solved this by changing date_time_ago.
In this situation this works for me.
Blueblot
Comment #6
rcodinaModule won't support this. Use the suggestion on comment #5. Thanks!