diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-11-30 10:52:28 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-11-30 10:52:28 +0100 |
| commit | 94dca54e38fbd99ac09739c6ffe647ef705ff7fe (patch) | |
| tree | 4dee62efb11c140d3034b338d107e11692abd50f /addons/web/static/src/js/pyeval.js | |
| parent | 7b48ff70be83644e6b04501a9fb8bebcf08f169e (diff) | |
[IMP] removed date.today() in pyeval
bzr revid: nicolas.vanhoren@openerp.com-20121130095228-mffq2407lq7tf8jj
Diffstat (limited to 'addons/web/static/src/js/pyeval.js')
| -rw-r--r-- | addons/web/static/src/js/pyeval.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/addons/web/static/src/js/pyeval.js b/addons/web/static/src/js/pyeval.js index 4ee9fea0584..73f41295e07 100644 --- a/addons/web/static/src/js/pyeval.js +++ b/addons/web/static/src/js/pyeval.js @@ -434,11 +434,6 @@ openerp.web.pyeval = function (instance) { throw new Error('ValueError: No known conversion for ' + m); })); }, - today: py.classmethod.fromJSON(function () { - var d = new Date(); - return py.PY_call( - datetime.date, [d.getUTCFullYear(), d.getUTCMonth() + 1, d.getUTCDate()]); - }), __eq__: function (other) { return (this.year === other.year && this.month === other.month |
