[ Ponychan ] [ pony / chat / oat / void / mu ] [ rp ] [ mode7 / test ]

/chat/ - Chat

New & Improved!
Name?

This field is optional. You can choose any name you want, or you can post anonymously by leaving this field empty.

Tripcodes are a way to identify yourself between posts without having to register with the site. To use a tripcode, enter your name as ‹name›#‹key›.You can choose anything you want as the key—it is private and will never be shown to other posters or stored on the server. For example:

Rarity#bestpony → Rarity!.4PK7yxdII

If you want a tripcode containing specific words, you can download a program designed to search for tripcodes, such as Tripcode Explorer.

Email?

Entering an e-mail is optional.

There are also code words you can enter here which perform certain actions when you submit your post.

  • sage — lets you post without bumping a thread.
  • nonoko — uses the original post behavior to redirect to the board index.

These can be used at the same time as an e-mail address by typing ‹email›#‹action›.

You can also use Skype names in place of an e-mail. The notation is the same as a link to a username on skype itself, which is skype:‹username›

Subject
Comment?
Giving emphasis
[b] Bold [/b] Ctrl + B
[i] Italic [/i] Ctrl + I
[u] Underlined [/u] Ctrl + U
[s] Strikethrough [/s] Ctrl + R
Hiding text
[?] Spoiler text [/?] Ctrl + S
[h] Hide block of text [/h] Ctrl + H
Special
[rcv] Royal Canterlot voice [/rcv] Ctrl + K
[shy] Fluttershy voice [/shy]
[cs] Comic Sans [/cs]
[tt] Monospaced [/tt]
[d20], [4d6] — Dice rolls
URLs and linking
Link to a post on the current board
>>1234
Link to another board
>>>/pony/
Link to a post on another board
>>>/pony/1234
Hypertext links
[url=https://www.ponychan.net/] Ponychan [/url]
File
Embed
Flag
Password?

This field is for editing and deletions.


File: 1737125653877.jpg (24.06 KB, 360x360, raf,360x360,075,t,fafafa_ca443…)

Maroon Auburn!QEUQfdPtTM (ID: 7b453b)Country code: gb, country type: geoip, valid: 1  11150

Is the "Invalid date" issue going to be fixed? I'm curious what even caused it

Snake (ID: c99498)Country code: blank.gif, country type: blank, valid: 11151

File: 1737127644536.jpg (114.3 KB, 1080x1440, GgfPV2JXoAAZw3z.jpg)

>>11150
Never ever

Urda (ID: 9d81b2)Country code: us, country type: geoip, valid: 1  11152

File: 1737129474400.png (155.99 KB, 640x738, IMG_1118.png)

>>11150
Brexit is causing it.

(ID: 046554)Country code: us, country type: geoip, valid: 1  11155

File: 1737130567168.png (294.29 KB, 2047x1716, 3414931__safe_artist-colon-ewo…)

>>11150 The site was being updated with fixes in preparation for the consolidation. Zeke's new code was incorporated, but it's incompatible with the front end. And then I left town and I haven't been back in 2 months. While I've been gone, I don't have either the half-decent internet or the dozens of hours of uninterrupted time I need to run diagnostics, learn a new language, and get anything done.
see mode7

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11156

File: 1737171288931.jpg (1.13 MB, 850x1200, sample_656016e95605209e70d9c36…)

>>11155
Have you tried throwing the code at ChatGPT (4o or o1) or Claude and asking the LLM to fix it? Or is the code online, where I can try?

(ID: 046554)Country code: us, country type: geoip, valid: 1  11161

File: 1737191138008.jpg (264.45 KB, 850x584, 703282.jpg)

>>11156 Yes; it helped me troubleshoot the localization/flag issue, as well as the embedded video issue. I started with it on the timestamp issue but wasn't able to finish it. Do you think you might be able to figure it out?

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11179

File: 1737244844338.jpg (82.82 KB, 1152x720, sicp-68747470733a.jpeg)

>>11161
I'd give it 50% probability that I can fix it. To start, if you disable JavaScript, it shows a date, so probably only the front-end JavaScript code needs to be changed. Unfortunately, the main.js file that I see has been minified to use uninformative var names.

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11180

Hmm, the time-handling code seems to come from:
//! moment.js
//! version : 2.29.4

I'm going to look at:
https://github.com/moment/moment/tree/2.29.4

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11181

Looks like the root of the problem is missing the leading zero in the month:

>>> new Date("2025-1-17T09:54:13Z")

Invalid Date

>>> new Date("2025-01-17T09:54:13Z")

Fri Jan 17 2025 04:54:13 GMT-0500 (Eastern Standard Time)

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11182

Pasting this in the JavaScript console fixes the dates:

const date_options = {
weekday: "short", year: "numeric", month: "short", day: "numeric", hourCycle: "h24",
hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: "shortOffset",
};
$$("time").forEach(function(elem) {
/* Add missing leading zeros */
dateString = elem.getAttribute("datetime").replace(/-(\d)-/, '-0$1-').replace(/-(\d)T/, '-0$1T');
elem.innerHTML = (new Date(dateString)).toLocaleString(undefined, date_options);
})


Let me see if I can figure out where the fix for leading zeros should be inserted in the main.js file...
This post was edited by its author on .

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11183

My suggestion is to change

function formatTimeElements(context) {
$("time", context).each(function() {
const $t = $(this);
$t.text(moment($t.attr("datetime")).format(time_format_string));
});
}

to:

function formatTimeElements(context) {
$("time", context).each(function() {
const $t = $(this);
$t.text(moment($t.attr("datetime").replace(/-(\d)-/, '-0$1-').replace(/-(\d)T/, '-0$1T')).format(time_format_string));
});
}

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11184

Oh wait! There is another problem: The time given by the server is wrong! It seems to be Eastern Time instead of GMT time, even though it ends in "Z".

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11185

Anyway, to address the root of the problem, Zeke should fix the code that produces the datetime attributes so that they:
(1) have the leading zeros required by the standard, and
(2) are actually in UTC.

Until that happens, you can try the change I suggested in >>11183 but the times will be 4 or 5 hours off.

(ID: 046554)Country code: us, country type: geoip, valid: 1  11189

File: 1737265605868.png (412.64 KB, 1280x678, 576142.png)

>>11185 Thanks for looking into it. I'll see what I can do with that when I have some free time and I'm less exhausted.

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11218

>>11189
A quick-and-dirty solution is just to throw the following JavaScript snippet anywhere on the page. It fixes both the leading-zero issue and the wrong-timezone issue. The code periodically (once per second) iterates thru time elements that haven't already been fixed and fixes them. (So, this handles new posts from the thread updater too.)

const date_options = {
weekday: "short", year: "numeric", month: "short", day: "numeric", hourCycle: "h24",
hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: "shortOffset",
};
function fixTimeElements() {
document.querySelectorAll("time:not([alreadyFixed])").forEach(function(elem) {
/* Add missing leading zero */
let dateString = (elem.getAttribute("datetime")
.replace(/-(\d)-/, '-0$1-')
.replace(/-(\d)T/, '-0$1T'));
let date = new Date((new Date(dateString)).getTime() + 5 * 60 * 60 * 1000);
elem.innerHTML = date.toLocaleString(undefined, date_options);
elem.setAttribute("alreadyFixed", "true");
});
}
window.dateFixTimer = setInterval(fixTimeElements, 1000);

Anonymous (ID: 671d51)Country code: us, country type: geoip, valid: 1  11219

It's a sign this site must die.

(ID: 046554)Country code: us, country type: geoip, valid: 1  11223

File: 1737348666399.png (482.48 KB, 1024x1024, maud socks.png)

>>11218 I went ahead and added the quick fix until I can mess around with it again. Thank you.
>>11219 yep

Chain (ID: 01ee3c)Country code: us, country type: geoip, valid: 1  11267

File: 1737429481769.png (352.56 KB, 648x626, 1460342515951.png)

>>11223
Yay, it was my pleasure!

Maroon Auburn!QEUQfdPtTM (ID: c7788a)Country code: gb, country type: geoip, valid: 1  11326

>It's fixed

Our God is an Awesome God techno~

(Thank you god mods)

(ID: 046554)Country code: us, country type: geoip, valid: 1  11327

File: 1737529564751.jpg (15.47 KB, 236x377, ac38872882a1c26bf397e78516e060…)

>>11326 that was all Chain!

Anonymous (ID: 0d2648)Country code: us, country type: geoip, valid: 1  11338

File: 1737574049517.jpg (103.39 KB, 849x1200, 1000000152.jpg)

There's actually thirteen months in a year. It's the lunar calendar

My abusive same sex partner BlackKingdomOfficiate💅!uRUeZEDjC. (ID: 9a85e0)Country code: us, country type: geoip, valid: 1  11341

File: 1737578703709.png (251.39 KB, 1080x2460, Screenshot_20250122-124018.png)

>>11338 ΩΩ11337
Unlike everything the noisome megaphone in your brain supplanted in the place of critical thought your every slight sexual discomfort does not apply anything to your mib social profile besides a BULLSEYE .
Cobalt Corsair begins to play on loop.
Oh snizzap you go gal!

Gifset tumbl latin pony rubiks stratego GuyverAppLon!uRUeZEDjC. (ID: c16fc7)Country code: us, country type: geoip, valid: 1  11342

File: 1737589217519.png (923.86 KB, 1080x2460, Screenshot_20250122-143102.png)

>>11338
Being able to smell on a electrical molecular level should have gotten the Reika Tantei on the job by now as Lucy auto levels to the power of the most animal friendly member of the group. Brianna, toxic chinese pollution is not that is to say you should be deaf and taste insensate by now Neptune Planet Power Flare UP!

DioSama🥵!0Rfwfu.Nlo (ID: c16fc7)Country code: blank.gif, country type: blank, valid: 11343

File: 1737592545905.png (541.38 KB, 1080x2460, Screenshot_20250122-162918.png)

>>11338
The puppet you raised in this reality professor Neo Nester swapped places with me. I'm Darth Sion and I should
>>>>>>>>>>>>>>>not be awake

unless pumped full of organic caffeinators😎😱🥶💫

I know what he scrawled in the beach sands before that centurion lost his temper and made pythagoraS a tragedy trope. Take that journey with me Melissa Ravencroft.

Happy mothers day Doctor Ya ga ko ro DioSama💌!0Rfwfu.Nlo (ID: c16fc7)Country code: blank.gif, country type: blank, valid: 11344

File: 1737593524371.gif (396.68 KB, 266x200, 79266066be10740d24f095f0bd0314…)

>>11338
Now abouut that Trigoncentric tumblr adviice column? @we-are-paladin is the eastern front burning at all? One of your OTHER men please and aloha!

_Channel_Awesome_ https://images.app.goo.gl/XRC8dwnfgdX9SYDB6 MidShipmanPlum!0Rfwfu.Nlo (ID: 9a85e0)Country code: us, country type: geoip, valid: 1  11345

File: 1737598038855.jpg (5.24 MB, 4000x3000, 20250122_175216.jpg)

>>11338
Somebody say ^^oh yeah^^!
Congratulations! They hate you back back back back again+(!!!!)? You've returned soon converted out of the shallow end so do tell your france! Who would have thought heroism conditional conditional! So now shout everything they disagree with to summon it back to you can you hear applause! When their vile wild shock has faded to the back and you tell them all to prepare for alien attack!? Do we fall and rise in orbit to dare what should have been?


Delete Post [ ]
Edit Post
Posts on this board may be edited for 2 hours after being made.
[ Ponychan ] [ pony / chat / oat / void / mu ] [ rp ] [ mode7 / test ]