Merge pull request #142 from MayhemYDG/master

Fix relocalized time inside inlined quotes.
This commit is contained in:
James Campos 2011-05-26 11:04:50 -07:00
commit 8f491988e4
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] =