Initial dev repository
[kcls-web.git] / opac / extras / mobile / mobile / js / eg / date.js
diff --git a/opac/extras/mobile/mobile/js/eg/date.js b/opac/extras/mobile/mobile/js/eg/date.js
new file mode 100644 (file)
index 0000000..d3a7114
--- /dev/null
@@ -0,0 +1 @@
+module("eg.date",function(){this.now=function(){return(new Date).getTime()};this.year=function(){return(new Date).getFullYear()};this.current=function(){var a;a=new Date;return a.getFullYear()+"-"+function(b){b="0"+b;return b.substring(b.length-2)}(a.getMonth()+1)+"-"+a.getDate()};return this});