Page 7 of 7 FirstFirst ... 234567
Results 121 to 126 of 126
  1. #121  
    Running 1.4.5 on my pre with Date as Carrier String patch installed.

    I run a large font and on occasion the date string runs into the time string.

    I changed the date format by editing
    /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.jsjsjs

    I added the following function:
    Code:
    myFormattedDate: function() {
        var myDayLabels   = new Array("Su", "M", "Tu", "W", "Th", "F", "Sa");
        var myMonthLabels = new Array("Jan", "Feb", "Mar", "Apr", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec");
        var myDate        = new Date();
    
        var myDayLabel    = myDayLabels[myDate.getDay()];
        var myDayOfMonth  = myDate.getDate();
        var myMonthLabel  = myMonthLabels[myDate.getMonth()];
        var my2DigitYear  = myDate.getFullYear()%100;
    
        // Tu 21 Sept 10
        return String(myDayLabel+" "+myDayOfMonth+" "+myMonthLabel+" "+my2DigitYear);
    },

    and then changed
    Code:
         this.carrierText = new Date().toDateString();
    to
    Code:
         this.carrierText = this.myFormattedDate();
    in the five places it occurs.

    It looks like this now:

    Last edited by freddysmith; 09/28/2010 at 03:09 PM. Reason: comment the function
  2. #122  
    Can someone make the date as carrier string without year and month (e.g., "Sun 12", "Mon 13", "Tue 14", etc.)?
  3. Vij
    Vij is offline
    Vij's Avatar
    Posts
    271 Posts
    Global Posts
    274 Global Posts
    #123  
    Quote Originally Posted by Jason Robitaille View Post
    Though I believe now, in total, there are 4 Date As Carrier String patches/variants:
    • Date As Carrier String
    • Date As Carrier String No Year
    • Date As Carrier String No Year With Time Shown While Locked
    • Date As Carrier String With Time Shown While Locked

    In Preware I see #1, #2, #4... but not #3. If figures that #3 is the one I am after :-)

    Edit: Ahh i found it here. Installing via Internalz. Seems it got missed in the Preware upload?
    http://forums.precentral.net/webos-p...ml#post2619514

    Thanks folks!
  4.    #124  
    Here's my patches for webOS 2.0.1
    Attached Files Attached Files
    If you've liked my software, please consider to towards future development.

    Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

    @JayCanuck @CanuckCoding Facebook
  5. #125  
    Jason,

    I would love to use your patch "date-as-carrier-string.patch" or "date-as-carrier-string-no-year.patch."

    I am using webos 2.2 on my new Palm 3 and am getting errors when I try to install the above patches (for webOS 2.0.1).

    Is there an update? Anybody successful with webOS 2.2+?

    Thanks so much,
    Christy
  6.    #126  
    the patch version on the 2.2.x patch feeds works fine on my Pre3
    If you've liked my software, please consider to towards future development.

    Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

    @JayCanuck @CanuckCoding Facebook
Page 7 of 7 FirstFirst ... 234567

Posting Permissions