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

 
 

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

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

Add a New Comment Rich Markup
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-f8d8.
    Corresponding source code