changeset 10:8705103f074f

Слияние
author cin
date Mon, 21 Aug 2017 18:03:00 +0300
parents 37e9e6bbe87a (diff) f0035923ff3e (current diff)
children 67a5de7581ad 3d4abbce4afc
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/implab/text/format.js	Mon Aug 21 17:47:00 2017 +0300
+++ b/src/implab/text/format.js	Mon Aug 21 18:03:00 2017 +0300
@@ -40,6 +40,8 @@
                     selector : m[2],
                     formatLength : m[1]
                 });
+            else if (pattern == "iso")
+                return value.toISOString();
             else
                 return date.format(value, {
                     selector : "date",