Code reorganization
[vchess.git] / client / client_OLD / javascripts / utils / datetime.js
diff --git a/client/client_OLD/javascripts/utils/datetime.js b/client/client_OLD/javascripts/utils/datetime.js
deleted file mode 100644 (file)
index 4f96518..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-function zeroPad(x)
-{
-       return (x<10 ? "0" : "") + x;
-}
-
-function getDate(d)
-{
-       return d.getFullYear() + '-' + zeroPad(d.getMonth()+1) + '-' + zeroPad(d.getDate());
-}
-
-function getTime(d)
-{
-       return zeroPad(d.getHours()) + ":" + zeroPad(d.getMinutes()) + ":" +
-               zeroPad(d.getSeconds());
-}