| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Tue Nov 30, 2004 8:29 am Post subject: Re: date language still problem |
|
or line 263 of Web_Links/index.php you have
| PHP: |
$newlinkView = date("F d, Y", $newlinkdatRaw);
|
replace with
| PHP: |
$newlinkView = formatDateTime($newlinkdayRaw, "%B %d, %T");
|
from php date F is equal to a full textual representation of a month, such as January or March BUT for some reason its not working with formaDateTime.
%B instead will do the same work!
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
Last edited by NanoCaiordo on Tue Nov 30, 2004 8:33 am; edited 1 time in total |
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Tue Nov 30, 2004 8:29 am Post subject: Re: date language still problem |
|
akumu and you poldo are genious.
thnx 100000 times
_________________ Juventus the champion!
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
poldo Dragonfly addicted


Offline Joined: Oct 20, 2004 Posts: 381 Location: Philippines
|
Posted: Tue Nov 30, 2004 8:32 am Post subject: Re: date language still problem |
|
| senzacionale wrote: |
akumu and you poldo are genious.
thnx 100000 times |
the credit all goes to Akamu
_________________ 12715014116404015116304016415014
5040042115141164162151170042077
poldo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.31 (Unix)/4.0.22-standard/4.3.9/CVS
|
|
| Back to top |
|
 |
Lualah Heavy poster


Offline Joined: Nov 14, 2004 Posts: 244
|
Posted: Tue Nov 30, 2004 8:39 am Post subject: Re: date language still problem |
|
nice akumu.
i need that too.
and i vhange D, Y but i can get right combination. How i can make that day will be before months like 30 november 2004.
thnx
Lualah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) WIN/Apache 2/4.1.16/5.1.1/9.0.6.1
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Tue Nov 30, 2004 8:41 am Post subject: Re: php date function language problem - web_links |
|
i send him PM too and thnx to him.
_________________ Juventus the champion!
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Tue Nov 30, 2004 8:57 am Post subject: download module months |
|
i want to chnage module months too.
i open index.php in downloads module but i can not find date that i will change it with akumu's one.
thnx
_________________ Juventus the champion!
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
Last edited by senzacionale on Tue Nov 30, 2004 9:08 am; edited 1 time in total |
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Tue Nov 30, 2004 9:02 am Post subject: Re: download module months |
|
I'll move this onto the existing thread - you really need to stop doing this and think about making new topics.
Also, please change your avatar - animation not allowed.
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Tue Nov 30, 2004 9:06 am Post subject: Re: php date function language problem - web_links |
|
sorry and i delete my avatar. why is not allowed. I know that i can't make 2 posts, sorry.
_________________ Juventus the champion!
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Tue Nov 30, 2004 9:18 am Post subject: Re: php date function language problem - web_links |
|
avatars are fine, just not animated (moving) 
same rule for signatures.
cpgnuke.com/Forums/vie...c/t=1.html section 2 and 3.
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Tue Nov 30, 2004 11:47 am Post subject: Re: php date function language problem - web_links |
|
ok i read this.
can you help me with my last problem.
thnx
_________________ Juventus the champion!
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
fesja Newbie


Offline Joined: Apr 24, 2004 Posts: 49 Location: Madrid - Spain
|
Posted: Sat Jan 08, 2005 8:31 pm Post subject: Re: php date function language problem - web_links |
|
I've the a similar problem with spanish,
i have this code:
| PHP: |
strftime("%A, %d de %B del %Y", $dia)
|
and it shows for example this:
| Quote:: |
| teisip�ev, 11 de jaanuar del 2005 |
this is totally wrong, I've searched on the code and I changed in the file includes/functions/language.php line 205, from
| PHP: |
'spanish' => array('es_ES', 'es, spa, ISO-8859-1, 28591'),
|
to
| PHP: |
'spanish' => array('es_ES', 'sp, spa, ISO-8859-1, 28591'),
|
now it works a bit, because it appears:
| Quote:: |
| s�bado, 08 de enero del 2005 |
but as you can see it sábado is wrong, and it should be Sábado and Enero with the first letter in uppercase.
it could be a problem with my serve and utf8,
any help please?
thanks
fesja's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Ubuntu Hoary / 2.0.53 / 4.1.10 / 4.3.10/ 9.0.3
|
|
| Back to top |
|
 |
hardlocke Nice poster


Offline Joined: Jan 06, 2005 Posts: 149 Location: Switzerland
|
Posted: Mon Jan 17, 2005 11:55 am Post subject: Re: php date function language problem - web_links |
|
how can i set this language settings in the news module??
hardlocke's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) W2003/Apache 2.0.5/MYSQL4.0.22/PHP5.1/CGPNuke 9.1.1
|
|
| Back to top |
|
 |
|
|