FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » new DateTimeZone and html encoding
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: new DateTimeZone and html encoding [message #172833 is a reply to message #172831] Fri, 04 March 2011 10:38 Go to previous messageGo to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma:
Senior Member
On 3/4/2011 11:11 AM, polilop wrote:
> I am asking how to get rid of &?
>

[Please don't toppost]

You can go with Álvaro G. Vicario suggestion.

But I am a bit surprised: You are talking about the format of an error
(WARNING to be exact).

Why do you want to format a WARNING better?
I would be inclined to set it up in such a way my system tests for the
timezone.

Regards,
Erwin Moller

>
>
> "Erwin Moller" wrote in message
> news:4d70aef2$0$32470$e4fe514c(at)news(dot)xs4all(dot)nl...
>
> On 3/4/2011 9:39 AM, polilop wrote:
>> when trying to do this :
>> $oldTZone= new DateTimeZone("Pacific Time (US & Canada");
>> or
>> $oldTZone=timezone_open("Pacific Time (US & Canada")
>> i get
>> Unknown or bad timezone (Pacific Time (US & Canada))
>>
>> it seems that it encodes the &. How can i disable it from doing so?
>>
>
> Hi,
>
> Are you asking how to get rig of the & and get a &, or are you
> asking why you get an error on DateTimeZone?
>
> Regards,
> Erwin Moller
>
>


--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: newbie question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 14:43:17 GMT 2024

Total time taken to generate the page: 0.07184 seconds