Hybrid View

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User aswinramakrish's Avatar
    Join Date
    Aug 2011
    Location
    Denver, CO
    Posts
    14
    Vote Rating
    1
    aswinramakrish is on a distinguished road

      0  

    Default tpl doesn't allow Date Format

    tpl doesn't allow Date Format


    Ext Designer throws an error when the tpl for a Date Column contains a formatted date. For example, if I have the following tpl for the Date Column.

    HTML Code:
    <span class="{[(new Date(values.TargetDate) < new Date() && values.StatusID == 1) ? "negative" : ""]}">{TargetDate:date(M d, Y)}</span>
    I get this error:

    Designer-DateParseBug.png

    The Designer version I'm using is - 1.2.3 Build 52.

  2. #2
    Sencha User aswinramakrish's Avatar
    Join Date
    Aug 2011
    Location
    Denver, CO
    Posts
    14
    Vote Rating
    1
    aswinramakrish is on a distinguished road

      1  

    Default My Bad - Missed "" in date format

    My Bad - Missed "" in date format


    Missed double quotes in the date format. Here is the correct version which worked fine.

    HTML Code:
    <span class="{[(new Date(values.TargetDate) < new Date() && values.StatusID == 1) ? "negative" : ""]}">{TargetDate:date("M d, Y")}</span>
    Sorry!

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi