Subversion Repositories SmartDukaan

Rev

Rev 32826 | Rev 33141 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32826 Rev 32979
Line 1086... Line 1086...
1086
function loadMainContent(htmlContent) {
1086
function loadMainContent(htmlContent) {
1087
    $('#main-content').html(htmlContent);
1087
    $('#main-content').html(htmlContent);
1088
}
1088
}
1089
 
1089
 
1090
 
1090
 
-
 
1091
function jsonStartDate(dateInputString) {
-
 
1092
    if(dateInputString === '') return null;
-
 
1093
    return moment(new Date(dateInputString)).format(moment.HTML5_FMT.DATETIME_LOCAL_SECONDS);
-
 
1094
}
-
 
1095
function jsonEndDate(dateInputString) {
-
 
1096
    if(dateInputString === '') return null;
-
 
1097
    return moment(new Date(dateInputString)).endOf('day').format(moment.HTML5_FMT.DATETIME_LOCAL_SECONDS);
-
 
1098
}
-
 
1099
 
1091
 
1100
 
1092
 
1101
 
1093
 
1102
 
1094
 
1103