How do I set timezone to affect Zend_Date component?
I use zend date to create view helper for date formatting.
Regards,
Saša Stamenković
On Wed, Nov 11, 2009 at 8:21 AM, Thomas Weidner wrote:
> Sorry, but date_default_timezone_set has no effect on the timezone which is
> actually used by the i
Sorry, but date_default_timezone_set has no effect on the timezone which is
actually used by the instance of Zend_Date nor has it effect on DST.
My question was related to the instance not your environment.
Why don't you output all dateparts from the instance instead of giving
partitial informa
@Thomas Weidner
*
*
date_default_timezone_set('Europe/Stockholm'); is in bootstrap.
@kobsu
*
*
*Same result :(
*
Regards,
Saša Stamenković
On Tue, Nov 10, 2009 at 6:20 PM, kobsu wrote:
>
> Try
> Zend_Date::setOptions(array('fix_dst' => true));
>
> before
> $date = new Zend_Date();
>
>
> umpirs
Luke Richards wrote:
>
> Hi,
>
> We use the Zend_Mail classes where I work and we're sending a lot of
> emails. It was a while ago but I think we had the same problem running
> out of memory. We tracked the problem down to the ZF SMTP transport. If
> you are using that try overriding it with
It seems you are right. The returned object is not countable... it is an
object. Although it should theoretically be, because the example in the Zend
Documentation counts the results (the matches) the same way.
Why is it then, that my code doesn't work...? I am loading the xml file the
right way?
I guess I don't see how comparing the two is "totally flawed". You should
compare solutions for the dimensions that matter to your use case--in the
case of large indices, performance will undoubtedly be one of those
dimensions. I had a similar experience with Zend_Search_Lucene and
concluded that
Hello everyone,
I made a first attempt to formulate a possible way to integrate Zend Tool and
Doctrine 1. This heavily depends on the Doctrine Zend_Application resource
proposal by Matthew Lurz (See References Section of the proposal) aswell as on
comments and discussions I had with several peo
On Tuesday 10 November 2009 10:01:16 pm Matthew Weier O'Phinney wrote:
> -- Ed Lazor wrote
>
> (on Tuesday, 10 November 2009, 12:56 PM -0800):
> > Is there a way to rebuild the zfproject.xml file with Zend_Tool? How
> > do you keep it updated on a project with others when some people use
> > Zend
Hi
as I do to compile the Zend manual to pdf?
Benjamin
-- Ed Lazor wrote
(on Tuesday, 10 November 2009, 12:56 PM -0800):
> Is there a way to rebuild the zfproject.xml file with Zend_Tool? How
> do you keep it updated on a project with others when some people use
> Zend_Tool and others don't? Or is this not a big concern?
Ralph is working on some su
ctx2002 wrote:
i try use zend lucene as my site search engine, then i have found this
article,
http://dadabase.de/weblog/archives/2009/07/22/recommendation-dont-use-zend-php-lucene.
can any one say something about that article?
There is one thing in general you should know about these kinds of
Is there a way to rebuild the zfproject.xml file with Zend_Tool? How
do you keep it updated on a project with others when some people use
Zend_Tool and others don't? Or is this not a big concern?
-Ed
I've found a strange issue with Google Chrome and ZF. Here's the setup:
Windows XP
Chrome 3.0.195.32
Zend Framework 1.9.0
PHP 5.3.0
Apache 2.2.11
In Chrome and only Chrome, if I request http://domain/path, Chrome will
invisibly request http://domain/ before it requests the full path. I
thought
Still confused about this.
Suppose you would like a common view script directory to be available to the
whole application, such as
APPLICATION_PATH . /views/common
In my Bootstrap class' _initView(), I tried inserting a
$view->addScriptPath(APPLICATION_PATH.'/views/common');
Evidently, that do
Try
Zend_Date::setOptions(array('fix_dst' => true));
before
$date = new Zend_Date();
umpirsky wrote:
>
> Hi zf community.
>
> This code:
>
> $date = new Zend_Date(null, null, $locale);
> $date->setTimestamp(1256198496);
> echo $date->getDate()->toString(Zend_Date::DATES);
>
> gives date 21.
Timezone ?
Mfg
Thomas
- Original Message -
From: "umpirsky"
To:
Sent: Tuesday, November 10, 2009 2:23 PM
Subject: [fw-general] Zend_Date problem
Hi zf community.
This code:
$date = new Zend_Date(null, null, $locale);
$date->setTimestamp(1256198496);
echo $date->getDate()->toStr
2009/11/10 Ralph Schindler :
> Hey Gerard,
>
> You should join in at #zftalk.dev and continue this conversation with
> Benjamin Eberlei. He was originally authoring Zend_Entity, but has recently
> dropped this development in favor of Doctrine integration.
>
> I think we'll soon see a proposal on h
Done
http://framework.zend.com/issues/browse/ZF-8278
Matthew Weier O'Phinney wrote:
-- Luke Richards wrote
(on Tuesday, 10 November 2009, 02:28 PM +):
We use the Zend_Mail classes where I work and we're sending a lot of emails. It
was a while ago but I think we had the same problem run
Hi,
I'm having a Zend_Dojo_Form with a RadioButton element defined like this:
$options = array(
0 => 'no',
1 => 'yes',
);
$this->addElement('RadioButton', 'elementName', array(
'label' => 'some label',
'multiOptions' => $options,
'required' => true,
));
My
Hey Gerard,
You should join in at #zftalk.dev and continue this conversation with
Benjamin Eberlei. He was originally authoring Zend_Entity, but has
recently dropped this development in favor of Doctrine integration.
I think we'll soon see a proposal on here:
http://framework.zend.com/wiki/d
Hi Ralph,
The pear version is:
PEAR 1.9.0 stable
In fact, our system administrator installed "module-assistant" on the
server before the reboot.
Also there was a .lock file next to pear packages, that I deleted
before reboot. And I just looked if the zend fw package was unpacked
unde
That is quite odd, I've seen the zlib issue before. It sounds odd that
a reboot fixed it, generally, php-cli re-reads its environment on every
run so rebooting, or restarting a service is never really required.
Locally I am running pear 1.8.1
Let me know if it's something I need to have a loo
keith Pope-4 wrote:
>
> 2009/11/10 fab2008 :
>>
>>
>> drm-4 wrote:
>>>
>>> Did you ever find out what was going on?
>
> Have you tried using clearstatcache() ?
>
In which manner it could be related to my problem? How to use it, at the end
of the loop?
--
View this message in context:
http:/
-- Luke Richards wrote
(on Tuesday, 10 November 2009, 02:28 PM +):
> We use the Zend_Mail classes where I work and we're sending a lot of emails.
> It
> was a while ago but I think we had the same problem running out of memory. We
> tracked the problem down to the ZF SMTP transport. If you ar
Hi,
We use the Zend_Mail classes where I work and we're sending a lot of
emails. It was a while ago but I think we had the same problem running
out of memory. We tracked the problem down to the ZF SMTP transport. If
you are using that try overriding it with the following code. We found
the pr
I comment the base tag in my kayout and now works fine, this example
http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.baseurl
is wrong, base tag needs an absolute url with the domain part.
nebiros wrote:
>
> Hey!.
>
> I'm using zf 1.9.5 and I got this config
2009/11/10 fab2008 :
>
>
> drm-4 wrote:
>>
>> Did you ever find out what was going on?
>>
>>
>
> No, I haven't. I upgraded to 1.9.5 (from 1.9.4) and I raised memory limit to
> 512M. I've also added some log messages in my application, this is the
> result in the last few days:
>
> 2009-11-08T15:24:
drm-4 wrote:
>
> Did you ever find out what was going on?
>
>
No, I haven't. I upgraded to 1.9.5 (from 1.9.4) and I raised memory limit to
512M. I've also added some log messages in my application, this is the
result in the last few days:
2009-11-08T15:24:06-05:00 INFO (6): Peak memory usage
Hey!.
I'm using zf 1.9.5 and I got this config in the frontController resource:
"resources" => array(
"frontController" => array(
"baseUrl" => "/Cesantias",
"throwExceptions" => true
)
)
I access the application using this url:
http://192.168.20.18
Hi zf community.
This code:
$date = new Zend_Date(null, null, $locale);
$date->setTimestamp(1256198496);
echo $date->getDate()->toString(Zend_Date::DATES);
gives date 21.10.2009. for sr_RS locale (similar for other locales), for
en_GB it gives 21 Oct 2009.
I expect 22 Oct 2009. it's whole day m
weierophinney wrote:
>
> -- forst wrote
> (on Friday, 06 November 2009, 01:26 PM -0800):
>> I'm trying to create a web page using a MVC model (Zend) and some of
>> Dojo/Dijit 's features. My layout is pretty heavy to load each time so I
>> would know if possible to only load each view content
debian 5.0.3
The problem was solved after reboot. Yet I still do not know what made it work.
Thanks anyway,
sc
On Tue, Nov 10, 2009 at 12:54 PM, till wrote:
> On Tue, Nov 10, 2009 at 11:44 AM, scs wrote:
>> Hello,
>> I think this may not be the right place for a question about pear
>> channe
On Tue, Nov 10, 2009 at 11:44 AM, scs wrote:
> Hello,
> I think this may not be the right place for a question about pear
> channel "pear.zfcampus.org"
> but could not find any other place for asking.
>
> The problem is the error I get while installing zend fw via the pear
> channel of "pear.zfcam
Hello,
I think this may not be the right place for a question about pear
channel "pear.zfcampus.org"
but could not find any other place for asking.
The problem is the error I get while installing zend fw via the pear
channel of "pear.zfcampus.org"
Here is the output:
pear install zfcampus/zf
down
Hi,
has no one any idea for this issue?
Thanks,
Ralf
Ralf Eggert schrieb am 28.10.2009 13:29:
> Hi,
>
> I noticed a weird problem with Zend_Dojo_Form and would like to know if
> others have similar problems.
>
> I have a Zend_Dojo_Form with a couple of elements. Some of them are set
> to be r
Hi,
I would like to set a css class for some of the options in a Dojo
FilteringSelect form element. Is this possible with Zend_Dojo? And if
not, is it somehow possible with Dojo FilteringSelect at all?
Thanks,
Ralf
Did you ever find out what was going on?
Hi
jmazzi wrote:
routes.survey.type = Zend_Controller_Router_Route_Hostname
routes.survey.route = survey.mysite.com
survey.mysite.com/id/1
I'd say you need to chain the hostname route to a regular route
containing '*' which will map remainder parts to key/value parameters...
I'm not 100% s
38 matches
Mail list logo