Home
last modified time | relevance | path

Searched refs:getFullYear (Results 1 – 25 of 68) sorted by relevance

123

/plugin/virtualkeyboard/vk/extensions/
H A Ddateextensions.js21 var y = this.getFullYear();
44 j1 = (new Date(this.getFullYear(),0,1)).getIsoDay(),
45 y = this.getFullYear();
61 var y = this.getFullYear(),
75 var y = this.getFullYear(),
159 case "C" : return Math.round(self.getFullYear()/100);
184 case "y" : return String(self.getFullYear()).slice(-2);
185 case "Y" : return self.getFullYear();
/plugin/indexmenu2/cms/extensions/
H A Ddateextensions.js11getFullYear();return(i%4==0&&i%100!=0)||i%400==0};Date.prototype.getDayOfYear=function(){var i=[0,…
/plugin/diagramsnet/lib/js/diagramly/
H A DDrawioClient.js57 expiration.setYear(expiration.getFullYear() - 1);
106 expiry.setYear(expiry.getFullYear() - 1);
139 expiration.setYear(expiration.getFullYear() + 10);
/plugin/davcal/datetimepicker-2.4.5/
H A Djquery.datetimepicker.js560 return new Date(this.getFullYear(), this.getMonth() + 1, 0).getDate();
858 var year = _xdsoft_datetime.currentTime.getFullYear();
1202 d.setFullYear(date.getFullYear());
1208 d.setFullYear(d.getFullYear() + options.yearOffset);
1248 _this.currentTime.setFullYear(_this.currentTime.getFullYear() + 1);
1252 year = _this.currentTime.getFullYear();
1256 new Date(_this.currentTime.getFullYear(), month + 1, 0).getDate(),
1282 _this.currentTime.setFullYear(_this.currentTime.getFullYear() - 1);
1287 new Date(_this.currentTime.getFullYear(), month + 1, 0).getDate(),
1300 var onejan = new Date(datetime.getFullYear(), 0, 1);
[all …]
/plugin/datepicker/script/jscalendar-1.0/
H A Dcalendar.js363 if (year.year != date.getFullYear()) {
631 var year = date.getFullYear();
926 var y = date.getFullYear();
1104 TY = today.getFullYear(),
1108 var year = date.getFullYear();
1190 if (date.getFullYear() == TY &&
1704 y = today.getFullYear();
1712 var year = this.getFullYear();
1744 return ((this.getFullYear() == date.getFullYear()) &&
1755 this.setFullYear(tmp.getFullYear());
[all …]
/plugin/cookielaw/
H A Dscript.js4 date.setFullYear(date.getFullYear() + 10);
/plugin/ckgdoku/ckeditor/plugins/signature/
H A Dplugin.js1 …ar f=oDokuWiki_FCKEditorInstance.fckgUserMail;var i=new Date();var c=i.getFullYear()+"/"+this.numb…
H A Dplugin.js.unc33 var date_str = d.getFullYear() + '/'
/plugin/ckgedit/ckeditor/plugins/signature/
H A Dplugin.js1 …ar f=oDokuWiki_FCKEditorInstance.fckgUserMail;var i=new Date();var c=i.getFullYear()+"/"+this.numb…
H A Dplugin.js.unc33 var date_str = d.getFullYear() + '/'
/plugin/fckg/fckeditor/editor/plugins/signature/
H A Dfckplugin.js32 var date_str = d.getFullYear() + '/'
/plugin/yuriigantt/3rd/dhtmlxgantt/sources/ext/
H A Ddhtmlxgantt_csp.js135 …? gantt.date.to_fixed(date.getUTCFullYear() % 100) : gantt.date.to_fixed(date.getFullYear() % 100);
136 case "%Y": return utc ? date.getUTCFullYear() : date.getFullYear();
H A Ddhtmlxgantt_drag_timeline.js424 return !!(obj.getFullYear && obj.getMonth && obj.getDate);
H A Ddhtmlxgantt_click_drag.js644 return !!(obj.getFullYear && obj.getMonth && obj.getDate);
H A Ddhtmlxgantt_tooltip.js913 return !!(obj.getFullYear && obj.getMonth && obj.getDate);
/plugin/yuriigantt/3rd/dhtmlxgantt/ext/
H A Ddhtmlxgantt_csp.js13 …tUTCFullYear()%100):gantt.date.to_fixed(a.getFullYear()%100);case"%Y":return e?a.getUTCFullYear():…
H A Ddhtmlxgantt_csp.js.map1getFullYear","locale","day_short","getUTCDay","getDay","day_full","month_short","month_full","getU…
H A Ddhtmlxgantt_drag_timeline.js13 …76e3,year:31536e3};function o(t){return!(!t||"object"!=typeof t)&&!!(t.getFullYear&&t.getMonth&&t.…
H A Ddhtmlxgantt_click_drag.js13 …76e3,year:31536e3};function i(t){return!(!t||"object"!=typeof t)&&!!(t.getFullYear&&t.getMonth&&t.…
H A Ddhtmlxgantt_tooltip.js13 …76e3,year:31536e3};function n(t){return!(!t||"object"!=typeof t)&&!!(t.getFullYear&&t.getMonth&&t.…
H A Ddhtmlxgantt_drag_timeline.js.map1getFullYear","getMonth","getDate","arrayFilter","arr","callback","result","filter","length","getSe…
/plugin/abc2/abc-libraries/abc2svg/
H A Dpage-1.js233 function strftime(sFormat,date){if(!(date instanceof Date))date=new Date();var nDay=date.getDay(),nDate=date.getDate(),nMonth=date.getMonth(),nYear=date.getFullYear(),nHour=date.getHours(),aDays=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],aMonths=['January','February','March','April','May','June','July','August','September','October','November','December'],aDayCount=[0,31,59,90,120,151,181,212,243,273,304,334],isLeapYear=function(){return(nYear%4===0&&nYear%100!==0)||nYear%400===0},getThursday=function(){var target=new Date(date);target.setDate(nDate-((nDay+6)%7)+3);return target},zeroPad=function(nNum,nPad){return((Math.pow(10,nPad)+nNum)+'').slice(1)};return sFormat.replace(/%[a-z]/gi,function(sMatch){return(({'%a':aDays[nDay].slice(0,3),'%A':aDays[nDay],'%b':aMonths[nMonth].slice(0,3),'%B':aMonths[nMonth],'%c':date.toUTCString(),'%C':Math.floor(nYear/100),'%d':zeroPad(nDate,2),'%e':nDate,'%F':date.toISOString().slice(0,10),'%G':getThursday().getFullYear(),'%g':(getThursday().getFullYear()+'').slice(2),'%H':zeroPad(nHour,2),'%I':zeroPad((nHour+11)%12+1,2),'%j':zeroPad(aDayCount[nMonth]+nDate+((nMonth>1&&isLeapYear())?1:0),3),'%k':nHour,'%l':(nHour+11)%12+1,'%m':zeroPad(nMonth+1,2),'%n':nMonth+1,'%M':zeroPad(date.getMinutes(),2),'%p':(nHour<12)?'AM':'PM','%P':(nHour<12)?'am':'pm','%s':Math.round(date.getTime()/1000),'%S':zeroPad(date.getSeconds(),2),'%u':nDay||7,'%V':(function(){var target=getThursday(),n1stThu=target.valueOf();target.setMonth(0,1);var nJan1=target.getDay();if(nJan1!==4)target.setMonth(0,1+((4-nJan1)+7)%7);return zeroPad(1+Math.ceil((n1stThu-target)/604800000),2)})(),'%w':nDay,'%x':date.toLocaleDateString(),'%X':date.toLocaleTimeString(),'%y':(nYear+'').slice(2),'%Y':nYear,'%z':date.toTimeString().replace(/.+GMT([+-]\d+).+/,'$1'),'%Z':date.toTimeString().replace(/.+\((.+?)\)$/,'$1')}[sMatch]||'')+'')||sMatch})}
/plugin/dirtylittlehelper/
H A Dscript.js126 var dlh_dateYear = new Date(dlh_dateNow.getFullYear(),0,1,0,0,0,0);
149 return ((''+dlh_dateNow.getFullYear()).substr(-2))+ dlh_return
/plugin/xcom/
H A Dscript.js222 …r = date_time.getFullYear() + "-" + month + "-" + day + " " + date_time.getHours() + ":" + date_ti…
/plugin/combo/resources/library/combo/
H A Dcombo.min.js30 `;let l=this.getDataNamespace();return this.popoverRootHtmlElement.setAttribute(`data${l}-toggle`,"popover"),this.popoverRootHtmlElement.setAttribute(`data${l}-trigger`,this.trigger),this.popoverRootHtmlElement.setAttribute(`data${l}-placement`,String(this.placement)),this.popoverRootHtmlElement.setAttribute(`data${l}-html`,String(this.isHtml)),this.popoverRootHtmlElement.setAttribute(`data${l}-container`,"body"),this.popoverRootHtmlElement.setAttribute(`data${l}-content`,this.content),this.bootStrapPopOver=new c.Popover(this.popoverRootHtmlElement,e),this.bootStrapPopOver}getDataNamespace(){let t="-bs",e=5;if("bootstrap"in window){let s=window.bootstrap;if(typeof s.Popover.VERSION<"u")return e=parseInt(s.Popover.VERSION.substring(0,1),10),e<5?"":t}if("jQuery"in window){let l=window.jQuery.fn.tooltip.constructor.VERSION;if(typeof l<"u")return e=parseInt(l.substring(0,1),10),e<5?"":t}return t}setTextContent(t){return this.content=t,this.isHtml=!1,this}setHtmlContent(t){return this.content=t,this.isHtml=!0,this}setEnableDismissOnNextClick(){return this.dismissOnNextClick=!0,this}setDisableDismissOnNextClick(){return this.dismissOnNextClick=!1,this}setTitle(t){return this.title=t,this}}class X{static hasWindowGuard(t){if(!this.hasWindow(t))throw Error("The element has no window")}static hasWindow(t){return!(!t||!t.ownerDocument||!t.ownerDocument.defaultView)}static getWindow(t){return this.hasWindowGuard(t),t.ownerDocument.defaultView}static formDataToObject(t){let e={};for(let s of t){let l=s[0],r=s[1];if(e.hasOwnProperty(l)){let n=e[l];Array.isArray(n)?e[l].push(r):e[l]=[n,r]}else e[l]=r}return e}}class z{constructor(t){i(this,"method","GET");i(this,"url");this.url=t}async getJson(){let t=await this.getResponse();return t.status!==200?{}:t.json()}async getText(){let t=await this.getResponse();return t.status!==200?"":t.text()}setMethod(t){return this.method=t.toUpperCase(),this}sendFormDataAsJson(t){return fetch(this.url.toString(),{method:this.method,body:JSON.stringify(X.formDataToObject(t)),headers:{"Content-Type":"application/json"}})}async getResponse(){let t=await fetch(this.url.toString(),{method:this.method});if(t.status!==200){let e=R.createTemporary();e.addBody(`Bad request: the call ${this.url} to the backend sends back the following exit code`+t.status),e.show()}return t}}const f=class{constructor(t){i(this,"url");let e=window.DOKU_BASE,s=window.JSINFO;switch(t){case f.AJAX:this.url=new URL(e+"lib/exe/ajax.php",window.location.href),this.url.searchParams.set("id",s.id);break;case f.RUNNER:this.url=new URL(e+"lib/exe/taskrunner.php",window.location.href),this.url.searchParams.set("id",s.id);break;case f.FETCH:this.url=new URL(e+"lib/exe/fetch.php",window.location.href);break;case f.EDIT:this.url=new URL(e+"doku.php",window.location.href),this.url.searchParams.set("do","edit"),this.url.searchParams.set("id",s.id);break;case f.SHOW:this.url=new URL(e+"doku.php",window.location.href),this.url.searchParams.set("id",s.id);break;default:throw new Error(`The type ${t} is unknown`)}}setProperty(t,e){return this.url.searchParams.set(t,e),this}toString(){return this.url.toString()}getCall(){return this.url.searchParams.get(f.CALL)}toRequest(){return new z(this.url)}static createAjax(t){return new f(this.AJAX).setProperty(f.CALL,t)}static createRunner(){return new f(this.RUNNER)}static createFetch(t,e){let s=new f(this.FETCH);if(typeof t>"u")throw new Error("The media id is mandatory");return s.setProperty("media",t),typeof e<"u"&&s.setProperty("drive",e),s}static createEdit(t){let e=new f(this.EDIT);return typeof t<"u"&&e.setProperty("id",t),e}};let y=f;i(y,"AJAX","AJAX"),i(y,"RUNNER","RUNNER"),i(y,"CALL","call"),i(y,"EDIT","edit"),i(y,"SHOW","show"),i(y,"FETCH","fetch");class V{constructor(t){i(this,"date");this.date=t}static createFromIso(t){let e=new Date(t);return new V(e)}toSqlTimestampString(){return`${this.date.getFullYear()}-${(this.date.getMonth()+1).toString().padStart(2,"0")}-${this.date.getDate().toString().padStart(2,"0")} ${this.date.getHours().toString().padStart(2,"0")}:${this.date.getMinutes().toString().padStart(2,"0")}:${this.date.getSeconds().toString().padStart(2,"0")}`}}u.Date=V,u.DokuUrl=y,u.Form=B,u.Html=$,u.Modal=R,u.Popover=x,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});

123