sheetsj’s avatarsheetsj’s Twitter Archive—№ 4,440

    1. You don't need to pull in moment-timezone library just to pass the IE11-safe browser timezone to a Java API gist.github.com/jeffsheets/710d1d6dd2f2acb0125a5d624ae915e4
      oh my god twitter doesn’t include alt text from images in their API
  1. …in reply to @sheetsj
    including a subtle dig at not needing leftpad too 😉
    1. …in reply to @sheetsj
      Mock the Intl and Date globals in Jest (with this one simple trick! 😉) because all code needs tests, and you don't need an extra 3rd party mock library to do it sheetsj.com/2021/05/mock-intl-and-date-globals-in-jest.html
      oh my god twitter doesn’t include alt text from images in their API