Hi Marius,

feel free to open a bug report for this missing feature in the qooxdoo bugzilla 
(bugzilla.qooxdoo.org).

Regards,
  Alex

From: Marius Austerschulte [mailto:[email protected]]
Sent: Monday, December 13, 2010 5:36 PM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] Format UTC dates

Hi Alex,
I know that the DateFormat class is for formatting a date. I just wondered why 
only the local representation of the date can be formatted, not the UTC 
representation. It would be nice if you could get a formatted UTC 
representation of the date by using a format string like "dd.MM.yyyy" instead 
of having to build a date string manually like d.getUTCDate() + "." + 
d.getUTCMonth() + ...

Marius

2010/12/13 Alexander Steitz 
<[email protected]<mailto:[email protected]>>
Hi Marius,

I think you're mixing things up here. The DateFormat class is used to format a 
date according to a given locale, like "de-DE" or "en-GB".  Just take a look at 
the qooxdoo showcase application

                http://demo.qooxdoo.org/current/showcase/#i18n

to see for yourself. The methods of the DateFormat class are all about 
formatting a date.

As far as I know there are no abstraction methods for the UTC methods available 
in qooxdoo. Just use them right ahead.

Regards,
  Alex

From: Marius Austerschulte 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Monday, December 13, 2010 3:56 PM
To: 
[email protected]<mailto:[email protected]>
Subject: [qooxdoo-devel] Format UTC dates

Hi all,
when I format a date using qx.util.format.DateFormat the date is converted to 
the computer's local timezone before it is displayed. Is it somehow possible to 
format a date with qx.util.format.DateFormat but let it display the date/time 
in UTC instead of the local timezone?
The standard JavaScript-API offers methods like getUTCDay, getUTCHours, etc., 
but I haven't found any way to do that with qx.util.format.DateFormat...

Thanks
Marius

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages,
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to