Re: [fw-general] Formatting localized date time wih Zend_Date

2010-05-14 Thread Hector Virgen
Wow, I didn't know   existed in 1875! ;)

--
Hector


On Fri, May 14, 2010 at 3:24 AM, Nicolas Grevet  wrote:

> There's a lot of formats in the CLDR that are completely ridiculous. Thanks
> to the General Conference on Weights and Measures in 1875, French numbers'
> thousands separator is a non-breaking space... no need to mention there is
> no way to type a non-breaking space on French and most international
> keyboards. We had to change Zend Framework's format for this too.
>
> Regards,
> -- Nicolas Grevet
>
>
> Саша Стаменковић wrote:
>
>> Thanks man.
>>
>> I'll go with extending my own format HH:mm since "%H.%M.%S" is really
>> silly format for time, especially when date have same format.
>>
>> Regards,
>> Saša Stamenković
>>
>>
>> On Fri, May 14, 2010 at 11:52 AM, Aleksey Zapparov 
>> > i...@member.fsf.org>> wrote:
>>
>>Hello,
>>
>>Sorry to diturb your discussion. But I never know about CLDR at
>>all and was
>>very interested what is it and how to use it :)) So after small
>>investigation here's
>>what I found:
>>
>>CLDR official website is: http://cldr.unicode.org/
>>
>>You can freely obtain lates specifications from:
>>http://cldr.unicode.org/index/downloads/cldr-1-8-1
>>
>>Or directly from:
>>http://unicode.org/Public/cldr/1.8.1/
>>
>>After all, you need two packages: "core.zip" and "posix.zip".
>>Inside "core.zip"
>>you'll find which spec you exactly need, in your place it's
>>"sr_Cyrl_RS". So you
>>can read sr_Cyrl_RS.UTF-8.src from posix package. And in fact it
>>clearly says
>>that time format is: "%H.%M.%S"
>>
>>
>>2010/5/14 Саша Стаменковић ><mailto:umpir...@gmail.com>>:
>>
>>> Thanks for the answer.
>>> I live in Serbia, and I have never seen this format before. Can
>>you provide
>>> a link to time format spec in CLDR please?
>>> Regards,
>>> Saša Stamenković
>>>
>>>
>>> 2010/5/14 Thomas Weidner ><mailto:thomas.weid...@gmx.at>>
>>
>>>>
>>>> The serbian time format is defined as "HH.mm.ss" within CLDR.
>>>> So eighter the wiki is wrong or unicode is wrong.
>>>>
>>>> Greetings
>>>> Thomas Weidner, I18N Team Leader, Zend Framework
>>>> http://www.thomasweidner.com
>>>>
>>>> - Original Message - From: " ???"
>>mailto:umpir...@gmail.com>>
>>
>>>> To: "Nabble Zend Framework General" ><mailto:fw-general@lists.zend.com>>
>>
>>>> Sent: Friday, May 14, 2010 10:38 AM
>>>> Subject: [fw-general] Formatting localized date time wih Zend_Date
>>>>
>>>>
>>>> Hi.
>>>>
>>>> I use Zend_Date in my view helper for formatting my dates like
>>>>
>>>> $this->date->toString(Zend_Date::DATES); // $this->date instranceod
>>>> Zend_Date
>>>>
>>>> This works perfect, I get 14.05.2010. for sr_RS locale.
>>>> *
>>>> *
>>>> But for time I expect sth like 10:00 (
>>>>
>>http://en.wikipedia.org/wiki/Date_and_time_notation_by_country#Serbia
>> ),
>>>> but
>>>> I get 09.43.56 when using
>>>>
>>>> *$this->date->toString(Zend_Date::TIMES);*
>>>>
>>>> Any idea?
>>>>
>>>> Regards,
>>>> Saša Stamenković
>>>>
>>>
>>>
>>
>>
>>
>>--
>>Sincerely yours,
>>Aleksey V. Zapparov A.K.A. ixti
>>FSF Member #7118
>>Mobile Phone: +34 617 179 344
>>Homepage: http://www.ixti.ru
>>JID: zappa...@jabber.ru <mailto:zappa...@jabber.ru>
>>
>>*Origin: Happy Hacking!
>>
>>
>>


Re: [fw-general] Formatting localized date time wih Zend_Date

2010-05-14 Thread Nicolas Grevet
There's a lot of formats in the CLDR that are completely ridiculous. 
Thanks to the General Conference on Weights and Measures in 1875, French 
numbers' thousands separator is a non-breaking space... no need to 
mention there is no way to type a non-breaking space on French and most 
international keyboards. We had to change Zend Framework's format for 
this too.


Regards,
-- Nicolas Grevet


Саша Стаменковић wrote:

Thanks man.

I'll go with extending my own format HH:mm since "%H.%M.%S" is really 
silly format for time, especially when date have same format.


Regards,
Saša Stamenković


On Fri, May 14, 2010 at 11:52 AM, Aleksey Zapparov 
mailto:i...@member.fsf.org>> wrote:


Hello,

Sorry to diturb your discussion. But I never know about CLDR at
all and was
very interested what is it and how to use it :)) So after small
investigation here's
what I found:

CLDR official website is: http://cldr.unicode.org/

You can freely obtain lates specifications from:
http://cldr.unicode.org/index/downloads/cldr-1-8-1

Or directly from:
http://unicode.org/Public/cldr/1.8.1/

After all, you need two packages: "core.zip" and "posix.zip".
Inside "core.zip"
you'll find which spec you exactly need, in your place it's
"sr_Cyrl_RS". So you
can read sr_Cyrl_RS.UTF-8.src from posix package. And in fact it
clearly says
that time format is: "%H.%M.%S"


2010/5/14 Саша Стаменковић mailto:umpir...@gmail.com>>:
> Thanks for the answer.
> I live in Serbia, and I have never seen this format before. Can
you provide
> a link to time format spec in CLDR please?
> Regards,
> Saša Stamenković
>
>
> 2010/5/14 Thomas Weidner mailto:thomas.weid...@gmx.at>>
>>
>> The serbian time format is defined as "HH.mm.ss" within CLDR.
>> So eighter the wiki is wrong or unicode is wrong.
>>
>> Greetings
>> Thomas Weidner, I18N Team Leader, Zend Framework
>> http://www.thomasweidner.com
>>
>> - Original Message ----- From: " ???"
    mailto:umpir...@gmail.com>>
>> To: "Nabble Zend Framework General" mailto:fw-general@lists.zend.com>>
>> Sent: Friday, May 14, 2010 10:38 AM
>> Subject: [fw-general] Formatting localized date time wih Zend_Date
>>
>>
>> Hi.
>>
>> I use Zend_Date in my view helper for formatting my dates like
>>
>> $this->date->toString(Zend_Date::DATES); // $this->date instranceod
>> Zend_Date
>>
>> This works perfect, I get 14.05.2010. for sr_RS locale.
>> *
>> *
>> But for time I expect sth like 10:00 (
>>
http://en.wikipedia.org/wiki/Date_and_time_notation_by_country#Serbia),
>> but
>> I get 09.43.56 when using
>>
>> *$this->date->toString(Zend_Date::TIMES);*
>>
>> Any idea?
>>
>> Regards,
>> Saša Stamenković
>>
>
>



--
Sincerely yours,
Aleksey V. Zapparov A.K.A. ixti
FSF Member #7118
Mobile Phone: +34 617 179 344
Homepage: http://www.ixti.ru
JID: zappa...@jabber.ru <mailto:zappa...@jabber.ru>

*Origin: Happy Hacking!




Re: [fw-general] Formatting localized date time wih Zend_Date

2010-05-14 Thread Саша Стаменковић
Thanks man.

I'll go with extending my own format HH:mm since "%H.%M.%S" is really silly
format for time, especially when date have same format.

Regards,
Saša Stamenković


On Fri, May 14, 2010 at 11:52 AM, Aleksey Zapparov wrote:

> Hello,
>
> Sorry to diturb your discussion. But I never know about CLDR at all and was
> very interested what is it and how to use it :)) So after small
> investigation here's
> what I found:
>
> CLDR official website is: http://cldr.unicode.org/
>
> You can freely obtain lates specifications from:
> http://cldr.unicode.org/index/downloads/cldr-1-8-1
>
> Or directly from:
> http://unicode.org/Public/cldr/1.8.1/
>
> After all, you need two packages: "core.zip" and "posix.zip". Inside
> "core.zip"
> you'll find which spec you exactly need, in your place it's "sr_Cyrl_RS".
> So you
> can read sr_Cyrl_RS.UTF-8.src from posix package. And in fact it clearly
> says
> that time format is: "%H.%M.%S"
>
>
> 2010/5/14 Саша Стаменковић :
> > Thanks for the answer.
> > I live in Serbia, and I have never seen this format before. Can you
> provide
> > a link to time format spec in CLDR please?
> > Regards,
> > Saša Stamenković
> >
> >
> > 2010/5/14 Thomas Weidner 
> >>
> >> The serbian time format is defined as "HH.mm.ss" within CLDR.
> >> So eighter the wiki is wrong or unicode is wrong.
> >>
> >> Greetings
> >> Thomas Weidner, I18N Team Leader, Zend Framework
> >> http://www.thomasweidner.com
> >>
> >> - Original Message - From: " ???" <
> umpir...@gmail.com>
> >> To: "Nabble Zend Framework General" 
> >> Sent: Friday, May 14, 2010 10:38 AM
> >> Subject: [fw-general] Formatting localized date time wih Zend_Date
> >>
> >>
> >> Hi.
> >>
> >> I use Zend_Date in my view helper for formatting my dates like
> >>
> >> $this->date->toString(Zend_Date::DATES); // $this->date instranceod
> >> Zend_Date
> >>
> >> This works perfect, I get 14.05.2010. for sr_RS locale.
> >> *
> >> *
> >> But for time I expect sth like 10:00 (
> >> http://en.wikipedia.org/wiki/Date_and_time_notation_by_country#Serbia),
> >> but
> >> I get 09.43.56 when using
> >>
> >> *$this->date->toString(Zend_Date::TIMES);*
> >>
> >> Any idea?
> >>
> >> Regards,
> >> Saša Stamenković
> >>
> >
> >
>
>
>
> --
> Sincerely yours,
> Aleksey V. Zapparov A.K.A. ixti
> FSF Member #7118
> Mobile Phone: +34 617 179 344
> Homepage: http://www.ixti.ru
> JID: zappa...@jabber.ru
>
> *Origin: Happy Hacking!
>


Re: [fw-general] Formatting localized date time wih Zend_Date

2010-05-14 Thread Aleksey Zapparov
Hello,

Sorry to diturb your discussion. But I never know about CLDR at all and was
very interested what is it and how to use it :)) So after small
investigation here's
what I found:

CLDR official website is: http://cldr.unicode.org/

You can freely obtain lates specifications from:
http://cldr.unicode.org/index/downloads/cldr-1-8-1

Or directly from:
http://unicode.org/Public/cldr/1.8.1/

After all, you need two packages: "core.zip" and "posix.zip". Inside "core.zip"
you'll find which spec you exactly need, in your place it's "sr_Cyrl_RS". So you
can read sr_Cyrl_RS.UTF-8.src from posix package. And in fact it clearly says
that time format is: "%H.%M.%S"


2010/5/14 Саша Стаменковић :
> Thanks for the answer.
> I live in Serbia, and I have never seen this format before. Can you provide
> a link to time format spec in CLDR please?
> Regards,
> Saša Stamenković
>
>
> 2010/5/14 Thomas Weidner 
>>
>> The serbian time format is defined as "HH.mm.ss" within CLDR.
>> So eighter the wiki is wrong or unicode is wrong.
>>
>> Greetings
>> Thomas Weidner, I18N Team Leader, Zend Framework
>> http://www.thomasweidner.com
>>
>> - Original Message ----- From: " ???" 
>> To: "Nabble Zend Framework General" 
>> Sent: Friday, May 14, 2010 10:38 AM
>> Subject: [fw-general] Formatting localized date time wih Zend_Date
>>
>>
>> Hi.
>>
>> I use Zend_Date in my view helper for formatting my dates like
>>
>> $this->date->toString(Zend_Date::DATES); // $this->date instranceod
>> Zend_Date
>>
>> This works perfect, I get 14.05.2010. for sr_RS locale.
>> *
>> *
>> But for time I expect sth like 10:00 (
>> http://en.wikipedia.org/wiki/Date_and_time_notation_by_country#Serbia),
>> but
>> I get 09.43.56 when using
>>
>> *$this->date->toString(Zend_Date::TIMES);*
>>
>> Any idea?
>>
>> Regards,
>> Saša Stamenković
>>
>
>



-- 
Sincerely yours,
Aleksey V. Zapparov A.K.A. ixti
FSF Member #7118
Mobile Phone: +34 617 179 344
Homepage: http://www.ixti.ru
JID: zappa...@jabber.ru

*Origin: Happy Hacking!


Re: [fw-general] Formatting localized date time wih Zend_Date

2010-05-14 Thread Саша Стаменковић
Thanks for the answer.

I live in Serbia, and I have never seen this format before. Can you provide
a link to time format spec in CLDR please?

Regards,
Saša Stamenković


2010/5/14 Thomas Weidner 

> The serbian time format is defined as "HH.mm.ss" within CLDR.
> So eighter the wiki is wrong or unicode is wrong.
>
> Greetings
> Thomas Weidner, I18N Team Leader, Zend Framework
> http://www.thomasweidner.com
>
> - Original Message - From: " ???" 
> To: "Nabble Zend Framework General" 
> Sent: Friday, May 14, 2010 10:38 AM
> Subject: [fw-general] Formatting localized date time wih Zend_Date
>
>
>
> Hi.
>
> I use Zend_Date in my view helper for formatting my dates like
>
> $this->date->toString(Zend_Date::DATES); // $this->date instranceod
> Zend_Date
>
> This works perfect, I get 14.05.2010. for sr_RS locale.
> *
> *
> But for time I expect sth like 10:00 (
> http://en.wikipedia.org/wiki/Date_and_time_notation_by_country#Serbia),
> but
> I get 09.43.56 when using
>
> *$this->date->toString(Zend_Date::TIMES);*
>
> Any idea?
>
> Regards,
> Saša Stamenković
>
>


Re: [fw-general] Formatting localized date time wih Zend_Date

2010-05-14 Thread Thomas Weidner

The serbian time format is defined as "HH.mm.ss" within CLDR.
So eighter the wiki is wrong or unicode is wrong.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

- Original Message - 
From: " ???" 

To: "Nabble Zend Framework General" 
Sent: Friday, May 14, 2010 10:38 AM
Subject: [fw-general] Formatting localized date time wih Zend_Date


Hi.

I use Zend_Date in my view helper for formatting my dates like

$this->date->toString(Zend_Date::DATES); // $this->date instranceod
Zend_Date

This works perfect, I get 14.05.2010. for sr_RS locale.
*
*
But for time I expect sth like 10:00 (
http://en.wikipedia.org/wiki/Date_and_time_notation_by_country#Serbia), but
I get 09.43.56 when using

*$this->date->toString(Zend_Date::TIMES);*

Any idea?

Regards,
Saša Stamenković



[fw-general] Formatting localized date time wih Zend_Date

2010-05-14 Thread Саша Стаменковић
Hi.

I use Zend_Date in my view helper for formatting my dates like

$this->date->toString(Zend_Date::DATES); // $this->date instranceod
Zend_Date

This works perfect, I get 14.05.2010. for sr_RS locale.
*
*
But for time I expect sth like 10:00 (
http://en.wikipedia.org/wiki/Date_and_time_notation_by_country#Serbia), but
I get 09.43.56 when using

*$this->date->toString(Zend_Date::TIMES);*

Any idea?

Regards,
Saša Stamenković