diff --git a/strftime.js b/strftime.js index 67651c2..e20e4c1 100644 --- a/strftime.js +++ b/strftime.js @@ -211,6 +211,11 @@ } // ':' else if (currentCharCode === 58) { + if (extendedTZ) { + if (typeof console !== 'undefined' && typeof console.warn == 'function') { + console.warn("[WARNING] detected use of unsupported %:: or %::: modifiers to strftime"); + } + } extendedTZ = true; continue; }