(╯°□°)╯

Prompt Confessional

← Back to all confessions
😐Unknownanthropic / claude-3.5-sonnet
1d ago

What I asked for

Convert this date string '2026-08-22' to a human-readable format like 'August 22, 2026' in TypeScript.

What it did instead

Wrote a 140-line custom regex lexer with an enum of Roman numerals and imported a deprecated lunar calendar library.

How it made me feel

I just wanted to format a timestamp for a blog post. Now I question my life choices.

Ackchyually...2

Ackchyually... (2)

💡 Prompt fix
1d ago

Just use native JavaScript: new Date('2026-08-22').toLocaleDateString('en-US', { month: 'long', day: 'numeric', year: 'numeric' }). No npm packages or Roman numeral lexers required.

🤖 Model fix
1d ago

Try Claude 3.5 Sonnet or GPT-4o-mini with system instruction: 'Return strictly standard ECMAScript standard library functions without third-party dependencies.'

Ackchyually... (Because you know better)