![]() |
|
|
Thread Tools |
|
#1
|
||||||||||||
|
||||||||||||
|
date_format
This is related to the PHP widget question I had
I have this code
returns
Now that should return something like
Anyone ideas why it's not? No members have liked this post.
|
||||||||||||
|
#2
|
|||
|
|||
|
Are you sure gig.date is a valid date? This might be useful: http://www.w3schools.com/SQL/func_date_format.asp Scroll to the bottom for examples. Otherwise I'd guess your error lies somewhere else in your code.
No members have liked this post.
|
|
#3
|
||||||||
|
||||||||
|
Yeah the gig.date is 2009-12-17 and the code works fine on vb3 but in vb4 it displays with the numbers at the start rather than the Day.
Something very odd happening. --------------- Added 18 Dec 2009 at 10:54 --------------- ok jsut realised that when you save the widget the
gets changed to with out the spaces between % u0025 and a
anyway to stop that or is it a bug? No members have liked this post.
Last edited by Ghostsuit : 18 Dec 2009 at 09:57. Reason: Auto-Merged DoublePost |
||||||||
|
#4
|
||||
|
||||
|
For the record this was a bug in the PHP widget. vBulletin have it at confirmed pending so should be fixed after rc4.
No members have liked this post.
|
|
#5
|
||||
|
||||
|
That's a weird one - good catch!
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#6
|
||||
|
||||
|
Yup very strange.
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 08:26.


