S@NL - Pascal
22nd January 2004, 02:21 AM
Hello,
I thought to add the weekday of the birthday date in the members profile.
For English language I didn't change any setting except
"Birthday Date format override WITH year. I changed this to : l d F Y
(This is using date() )
for my Dutch language I set the Language code to "nl"
So my Birthday date format override WITH year is : %A %d %B %Y
It looks ok, but the day itself is wrong displayed.
My birthday is 27 december 1972. That is on a wednesday.
vB 3.0 RC3 says it is on a sunday.
See my profile at : http://forum.seti-nl.org/member.php?u=1
---------------
To be sure I coded this in a test.php:
setlocale(LC_TIME, 'nld');
echo strftime("%A %d %B %Y", mktime(0, 0, 0,12,27,1972));
The output : wednesday 12 december 1972
And that is correct
---------------
(crossposted at vb.com : http://www.vbulletin.com/forum/showthread.php?t=92684 )
I thought to add the weekday of the birthday date in the members profile.
For English language I didn't change any setting except
"Birthday Date format override WITH year. I changed this to : l d F Y
(This is using date() )
for my Dutch language I set the Language code to "nl"
So my Birthday date format override WITH year is : %A %d %B %Y
It looks ok, but the day itself is wrong displayed.
My birthday is 27 december 1972. That is on a wednesday.
vB 3.0 RC3 says it is on a sunday.
See my profile at : http://forum.seti-nl.org/member.php?u=1
---------------
To be sure I coded this in a test.php:
setlocale(LC_TIME, 'nld');
echo strftime("%A %d %B %Y", mktime(0, 0, 0,12,27,1972));
The output : wednesday 12 december 1972
And that is correct
---------------
(crossposted at vb.com : http://www.vbulletin.com/forum/showthread.php?t=92684 )