Creating the instance affects the timezone.
Using set methods affect the timezone.
The manual states multiple ways (more than 20?) to affect the timezone.
In the code you gave the locale affects the timezone.
And we still don't know how your complete date looks like.
So all we can do is
Looks like you didn't use my piece of code to reproduce the problem:
$date = new Zend_Date(null, null, $locale);
$date-setTimestamp(1256198496);
echo $date-getDate()-toString(Zend_Date::DATES);
Using this:
$date = new Zend_Date(null, null, $locale);
$date-setTimestamp(1256198496);
echo
I got the impression that the author used ZL and expected to get the
same performance result akin to using Java. This is where my flawed
argument comes in. There is no reference to the fundamental
difference between the languages and the performance differences this
yields, I am not
Hello all,
I have a Lucene Index with a field containing a custom built date format
like
20090105223356 for 2009, May, fist 33:33:56 hour.
my Index contains 25000 documents.
I'm using th ..Common_TextNum_CaseInsensitive Analyzer.
A range query takes minutes (at least forces my soap client to
Looks like you didn't use my piece of code to reproduce the problem:
Look like you did not output all date parts.
Why should I use your code when it's obviously wrong ?
You set the actual date with time, timezone and DST.
F.e. 2009-11-11 05:00:00+02:00
Then you set a timestamp overwriting the
-Original Message-
From: zpc [mailto:zpcha...@gmail.com]
Sent: 10 November 2009 19:30
To: fw-general@lists.zend.com
Subject: [fw-general] Chrome always loads default controller
and action before actual request
I've found a strange issue with Google Chrome and ZF. Here's
I see, right way would be :
$date = new Zend_Date(null, null, $locale);
$date-setTimestamp(1256198496);
echo $date-toString(Zend_Date::DATES);
Big thanks Thomas!
Regards,
Saša Stamenković
On Wed, Nov 11, 2009 at 12:06 PM, Thomas Weidner thomas.weid...@gmx.atwrote:
Looks like you didn't use
Yes, but there's no limitations or goals section in the ZSL
documentation to give people a clear picture of what they can
reasonably expect or what the use cases are. I think this causes
unnecessary confusion.
-Matt
On Wednesday, November 11, 2009, Daniel Latter dan.lat...@gmail.com wrote:
I
Maybe so, but I think the confusion is more likely to come from an
anticipated performance level based (in this case) on previous
experiences with other languages, without really truly understanding
your chosen language in question (in this case PHP)
I would not say you NEED to know all
That still doesnt work.
thomasW wrote:
According to manual the registry key 'Zend_Locale' has to be an instance
of
Zend_Locale.
'fr_CA' may be a locale, but it's not an instance of Zend_Locale.
So when you want to change the application wide locale afterwards you need
to change
By the way you can set the locale string in the constructor. This works in
the bootstrap file
$locale = new Zend_Locale('en_US');
Zend_Registry::set('Zend_Locale', $locale);
I get the issue when I try to overwrite the value in my controllers
asagala wrote:
Jared Williams-3 wrote:
Sure it not just requesting http://domain/favicon.ico ?
Jared
Thanks. That's exactly what's happening. I have no favicon, and my error
controller redirect 404s to '/'.
--
View this message in context:
Hi,
I am trying to add custom error to an element. The error is added fine, but
its format is different from the errors that normally occure in the form.
When an error occurs in the form $form-getMessages () returns an array with
the error codes as the key:
[usr_passwd] = array(3) {
fab2008 wrote:
Luke Richards wrote:
class Yourlibrary_Mail_Transport_Smtp extends Zend_Mail_Transport_Smtp
{
/**
* Send a mail using this transport
*
* @param Zend_Mail $mail
* @access public
* @return void
* @throws
Can please get what makes up the URL: { url:
/data/lookup/table/city/filterName/countryId/filterValue/ +
dijit.byId(countryId).value }??
I only understand up to the 'lookup' in URL which is the controller action.
From 'table' in the to 'filterValue' in the URL a llitle explaination will
me to
Can I please get what makes up the URL: { url:
/data/lookup/table/city/filterName/countryId/filterValue/ +
dijit.byId(countryId).value }??
My first table name is 'region' wth the ff fields: id, name and the second
is 'site' with: id, site_name.
I only understand up to the 'lookup' part in the
16 matches
Mail list logo