Index: trunk/extensions/VisualEditor/modules/parser/ext.core.ParserFunctions.js |
— | — | @@ -90,6 +90,8 @@ |
91 | 91 | }; |
92 | 92 | |
93 | 93 | // A first approximation, anyway.. |
| 94 | +// Based on http://jacwright.com/projects/javascript/date_format/ for now, MIT |
| 95 | +// licensed. |
94 | 96 | ParserFunctions.prototype['pf_#time'] = function ( target, argList, argDict ) { |
95 | 97 | //return [{type: 'TEXT', value: 'January 22, 2012'}]; |
96 | 98 | var res, |