Lines Matching refs:date

127 gantt.date.date_to_str = function(format,utc){
128 return function(date) { argument
131 …case "%d": return utc ? gantt.date.to_fixed(date.getUTCDate()) : gantt.date.to_fixed(date.getDate(…
132 …case "%m": return utc ? gantt.date.to_fixed((date.getUTCMonth() + 1)) : gantt.date.to_fixed((date.…
133 case "%j": return utc ? date.getUTCDate() : date.getDate();
134 case "%n": return utc ? (date.getUTCMonth() + 1) : (date.getMonth() + 1);
135 …case "%y": return utc ? gantt.date.to_fixed(date.getUTCFullYear() % 100) : gantt.date.to_fixed(dat…
136 case "%Y": return utc ? date.getUTCFullYear() : date.getFullYear();
137 …case "%D": return utc ? gantt.locale.date.day_short[date.getUTCDay()] : gantt.locale.date.day_shor…
138 …case "%l": return utc ? gantt.locale.date.day_full[date.getUTCDay()] : gantt.locale.date.day_full[
139 …case "%M": return utc ? gantt.locale.date.month_short[date.getUTCMonth()] : gantt.locale.date.mont…
140 …case "%F": return utc ? gantt.locale.date.month_full[date.getUTCMonth()] : gantt.locale.date.month…
141 …case "%h": return utc ? gantt.date.to_fixed((date.getUTCHours() + 11) % 12 + 1) : gantt.date.to_fi…
142 … case "%g": return utc ? ((date.getUTCHours() + 11) % 12 + 1) : ((date.getHours() + 11) % 12 + 1);
143 case "%G": return utc ? date.getUTCHours() : date.getHours();
144 …case "%H": return utc ? gantt.date.to_fixed(date.getUTCHours()) : gantt.date.to_fixed(date.getHour…
145 …case "%i": return utc ? gantt.date.to_fixed(date.getUTCMinutes()) : gantt.date.to_fixed(date.getMi…
146 …case "%a": return utc ? (date.getUTCHours() > 11 ? "pm" : "am") : (date.getHours() > 11 ? "pm" : "…
147 …case "%A": return utc ? (date.getUTCHours() > 11 ? "PM" : "AM") : (date.getHours() > 11 ? "PM" : "…
148 …case "%s": return utc ? gantt.date.to_fixed(date.getUTCSeconds()) : gantt.date.to_fixed(date.getSe…
149 …ase "%W": return utc ? gantt.date.to_fixed(gantt.date.getUTCISOWeek(date)) : gantt.date.to_fixed(g…
155 gantt.date.str_to_date = function(format,utc){
156 return function(date) { argument
158 var temp = date.match(/[a-zA-Z]+|[0-9]+/g);
194 set[1] = gantt.locale.date.month_short_hash[temp[i]] || 0;
197 set[1] = gantt.locale.date.month_full_hash[temp[i]] || 0;