Merge pull request #142 from MayhemYDG/master
Fix relocalized time inside inlined quotes.
This commit is contained in:
commit
8f491988e4
@ -1664,6 +1664,9 @@
|
|||||||
init: function() {
|
init: function() {
|
||||||
return g.callbacks.push(function(root) {
|
return g.callbacks.push(function(root) {
|
||||||
var date, day, dotw, hour, meridiem, min_sec, month, s, span, year, _, _i, _len, _ref, _ref2, _results;
|
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);
|
_ref = $$('span[id^=no]', root);
|
||||||
_results = [];
|
_results = [];
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
|
|||||||
@ -1333,6 +1333,7 @@ sauce =
|
|||||||
localize =
|
localize =
|
||||||
init: ->
|
init: ->
|
||||||
g.callbacks.push (root) ->
|
g.callbacks.push (root) ->
|
||||||
|
return if root.className is 'inline'
|
||||||
for span in $$ 'span[id^=no]', root
|
for span in $$ 'span[id^=no]', root
|
||||||
s = span.previousSibling
|
s = span.previousSibling
|
||||||
[_, month, day, year, hour, min_sec] =
|
[_, month, day, year, hour, min_sec] =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user