patchWeeChat - Patches: patch #6914, some datestamps are in english for...

 
 

patch #6914: some datestamps are in english for all locales

Submitted by:  Elián Hanisch <m4v>
Submitted on:  Sun 13 Sep 2009 01:55:43 AM UTC  
 
Category:  display Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  Sebastien Helleu <flashcode> Open/Closed:  Closed
IRC nick:  m4v

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 13 Sep 2009 01:55:43 AM UTC, original submission:

comands like "/uptime" or "/mode #weechat b" (banlist) outputs dates in english, no matter current localization.
this is because ctime isn't locale aware, so I replaced it with a function that uses strftime. I added the function in core/wee-util.c where it looked like the right place.
I don't know if making the datestamp's format user configurable is a wanted feature.

Elián Hanisch <m4v>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by m4v (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-02 flashcode Open/ClosedOpen => Closed
    2010-02-09 flashcode CategoryNone => display
        StatusNone => Done
        Assigned toNone => flashcode
    2009-09-13 m4v Attached File- => Added 0003-localised-datestamps.patch, #18704

    Back to the top


    Powered by Savane 3.4