16

I have to write a calendar app. In js. Just fucking kill me right the fuck away.

Comments
  • 5
    But why?
  • 3
    Are we talking native JS or you can use one of the millions of jQuery plugins or npm packages available?
  • 3
    Just use luxon or whatever moment.js creators recommend now they're dead.
  • 2
    Don't.

    Thats one of the most annouyimg things to write, and explain to Idiot PMs.
  • 0
    npm install --save react-big-calendar
  • 5
    It's a grid with some divs.

    It's not hard. It's just fucking tedious.

    Hire me as a junior. I'll do it for 35k a year.
  • 2
    @Wisecrack I think four jobs is enough for you. 🤣
  • 3
    @sariel whis counting?

    I also work at starbucks, hardee's, dennys, and NASA.

    I've never posted my actual job on here except once.
  • 3
    @Wisecrack you must be new to the whole dates, times, and timezones thing in JavaScript.

    Layout is easy.

    Dealing with broken tooling is not.
  • 0
    @fullstackchris how about not making it global?
  • 0
  • 0
    I once made a pretty slick calendar in js that was similar to the Mac calendar app, then the feature got scrapped before it launched and I wasted a week for nothing 🥲🔫
  • 1
    Using a well developed time/chrono/georgian calendar js lib is crucial. There are so many weird things with dates, timezones and such that keeping track of that is almost impossible. Especially on a whim.

    If you don't believe me, look up talks about timezones and date libs on yt.

    One example: https://youtube.com/watch/...
  • 2
    Btw, gotta ask your PM: Does he want a excel compatible calendar or a correct one?

    (Don't even they will surely never notice)
  • 0
    npm install calendar
  • 0
    haven't those been done to death? why do you have to reinvent the wheel?
  • 1
    @darksideofyay he just has to. Ask whomever gave the orders.
Add Comment