AUTODETECT_CALENDAR detect

You must Login before you can answer or comment on any questions.

how a strings can detect as Calendar use AUTODETECT_CALENDAR

— asked 8 months ago by Chengkao He
2 Comments
  • i change the textarea's value as 2012-10-10,2012/02/30 ect,but it doesn't work.Some one could tell me why?

    — commented 8 months ago by Chengkao He

  • is your problem resolved? though the property have been changed to AUTOLINK_CALENDAR

    — commented 4 months ago by Ashish Nigam

1 Answer

Tested on current release 3.0.0.GA

var text = Ti.UI.createTextArea({
   //value:'Event: Jan 25, 2012 at 5:00pm',
    value: 'december 31, 2013',
    autoLink: Ti.UI.AUTODETECT_CALENDAR,
    top:100,
    enabled:false,
    font:{fontSize:16}
});
 
var win = Ti.UI.createWindow({backgroundColor:'#fff'});
 
win.add(text);
 
win.open();

Your Answer

Think you can help? Login to answer this question!