From c7caf31895f8e4495f1d001fae2dd19f2c8a36c3 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 28 Aug 2011 03:44:24 +0200 Subject: [PATCH] revert %Y, use 20%y --- 4chan_x.user.js | 5 +---- script.coffee | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 013161d0d..8b6a95641 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1076,7 +1076,7 @@ var arr, checked, description, dialog, hiddenNum, hiddenThreads, hidingul, html, input, key, li, main, obj, overlay, ul, _i, _len, _ref, _ref2; hiddenThreads = $.get("hiddenThreads/" + g.BOARD + "/", {}); hiddenNum = Object.keys(g.hiddenReplies).length + Object.keys(hiddenThreads).length; - html = "
| | |

:
:
Supported format specifiers:
  • Day: %a, %A, %d, %e
  • Month: %m, %b, %B
  • Year: %y, %Y
  • Hour: %k, %H, %l (lowercase L), %I (uppercase i)
  • Month: %M, %p, %P
ActionsKeybinds
Close Options or QR
Quick spoiler
Open QR with post number inserted
Open QR without post number inserted
Submit post
Select next reply
Select previous reply
See next thread
See previous thread
Jump to the next page
Jump to the previous page
Jump to page 0
Open thread in current tab
Open thread in new tab
Expand thread
Watch thread
Hide thread
Expand selected image
Expand all images
Update now
Reset the unread count to 0
"; + html = "
| | |

:
:
Supported format specifiers:
  • Day: %a, %A, %d, %e
  • Month: %m, %b, %B
  • Year: %y
  • Hour: %k, %H, %l (lowercase L), %I (uppercase i)
  • Month: %M, %p, %P
ActionsKeybinds
Close Options or QR
Quick spoiler
Open QR with post number inserted
Open QR without post number inserted
Submit post
Select next reply
Select previous reply
See next thread
See previous thread
Jump to the next page
Jump to the previous page
Jump to page 0
Open thread in current tab
Open thread in new tab
Expand thread
Watch thread
Hide thread
Expand selected image
Expand all images
Update now
Reset the unread count to 0
"; dialog = $.el('div', { id: 'options', innerHTML: html @@ -2090,9 +2090,6 @@ }, y: function() { return Time.date.getFullYear() - 2000; - }, - Y: function() { - return Time.date.getFullYear(); } } }; diff --git a/script.coffee b/script.coffee index ed2e6939e..8a01d658f 100644 --- a/script.coffee +++ b/script.coffee @@ -818,7 +818,7 @@ options = @@ -1661,7 +1661,6 @@ Time = p: -> if Time.date.getHours() < 12 then 'AM' else 'PM' P: -> if Time.date.getHours() < 12 then 'am' else 'pm' y: -> Time.date.getFullYear() - 2000 - Y: -> Time.date.getFullYear() getTitle = (thread) -> el = $ 'span.filetitle', thread