Fix relocalized time inside inlined quotes.

This commit is contained in:
Nicolas Stepien 2011-05-26 15:38:21 +02:00
parent ea1fc71337
commit d0769bbdc9
2 changed files with 4 additions and 0 deletions

View File

@ -1664,6 +1664,9 @@
init: function() {
return g.callbacks.push(function(root) {
var date, day, dotw, hour, meridiem, min_sec, month, s, span, year, _, _i, _len, _ref, _ref2, _results;
if (root.className === 'inline') {
return;
}
_ref = $$('span[id^=no]', root);
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {

View File

@ -1333,6 +1333,7 @@ sauce =
localize =
init: ->
g.callbacks.push (root) ->
return if root.className is 'inline'
for span in $$ 'span[id^=no]', root
s = span.previousSibling
[_, month, day, year, hour, min_sec] =