Ignore:
Timestamp:
03/26/14 03:20:47 (9 years ago)
Author:
obi
Message:

fix translate date > day name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/skinfunc.h

    r27941 r27944  
    506506                        buf1 = ostrcat(buf, NULL, 1, 0);
    507507
     508                        buf1 = translate_time(buf1, 0);
     509
    508510                        free(loctime); loctime = NULL;
    509511                        return buf1;
     
    721723        }
    722724
    723         buf1 = string_replace("Mon", "Montag", buf1, 1);
    724         buf1 = string_replace("Die", "Dienstag", buf1, 1);
    725         buf1 = string_replace("Mit", "Mittwoch", buf1, 1);
    726         buf1 = string_replace("Don", "Donnerstag", buf1, 1);
    727         buf1 = string_replace("Fre", "Freitag", buf1, 1);
    728         buf1 = string_replace("Sam", "Samstag", buf1, 1);
    729         buf1 = string_replace("Son", "Sonntag", buf1, 1);
     725        buf1 = translate_time(buf1, 1);
    730726
    731727        free(loctime);
Note: See TracChangeset for help on using the changeset viewer.