Re: Formatting a date/time string

2006-01-01 Thread Roozbeh Pournader
On Thu, 2005-12-29 at 18:08 -0800, Rick Stockton wrote: If necessary, this leads to 2 questions: (1) Are all timezones shown via a 3-character code, or do some locales have more characters? (I'm not counting bytes, I'm counting characters). The timezone abbreviations become 4 characters in

Re: Formatting a date/time string

2005-12-30 Thread Abel Cheung
Hi, On 12/30/05, Rick Stockton [EMAIL PROTECTED] wrote: Yes, it's NASTY-WIDE. My Proposed Patch implements the wider dialog. Both Date/Time and Size are re-sizable columns, which helps a little bit. But the key, I think, is to address the internationalized format itself. If we have to work

Re: Formatting a date/time string

2005-12-30 Thread Mohammad DAMT
Pada hari Kamis, tanggal 29/12/2005 pukul 11:57 +0100, Christian Rose menulis: However, this sucks for users who only want to have the display language be something different (LC_MESSAGES), but otherwise want to have times etc. be formatted according to their own locale, since doing it like

Re: Formatting a date/time string

2005-12-30 Thread Mohammad DAMT
Pada hari Jumat, tanggal 30/12/2005 pukul 18:53 +0200, Mohammad DAMT menulis: I would rather go having separate PO file and put the MO file in LC_TIME directory instead of put them together in LC_MESSAGES. And fetch the message using dcgettext (domain, text, LC_TIME);

Re: Formatting a date/time string

2005-12-29 Thread Roozbeh Pournader
On Wed, 2005-12-28 at 20:44 -0600, Federico Mena Quintero wrote: Is there a standard format string that we can use to produce a short representation of the date and time? Or should we just use %c and assume that the locale data will be acceptable to the user? The standard way to do it is

Re: Formatting a date/time string

2005-12-29 Thread Christian Rose
On 12/29/05, Abel Cheung [EMAIL PROTECTED] wrote: %c poses some usability annoyance since the file dialog will be either very large, or the date/time part is simply hidden under cover and users have to scroll horizontally before seeing it. Agreed. If short string is more desired, I'd

Formatting a date/time string

2005-12-28 Thread Federico Mena Quintero
Hi, Rick Stockton has been looking into adding a Time field to GtkFileChooser: http://bugzilla.gnome.org/show_bug.cgi?id=324543 Nautilus seems to use a plain %c format for strftime(), but that seems to produce really long strings. Is there a standard format string that we can use to produce a

Re: Formatting a date/time string

2005-12-28 Thread Abel Cheung
On 12/29/05, Federico Mena Quintero [EMAIL PROTECTED] wrote: Rick Stockton has been looking into adding a Time field to GtkFileChooser: http://bugzilla.gnome.org/show_bug.cgi?id=324543 Nautilus seems to use a plain %c format for strftime(), but that seems to produce really long strings.