Giter Site home page Giter Site logo

Comments (9)

tbuyle avatar tbuyle commented on August 17, 2024

Hi,

This actually cause an error in an application i am working on.

The application use FineUploader (http://fineuploader.com) to send file to amazon S3. Using the mailjet gem caused the S3 upload to fail due to invalid expiration date format...

Setting ActiveSupport.parse_json_times = false in app initializer does solve the issue... But I suppose it would actually be needed to use the mailjet API through the gem.

from mailjet-gem.

bradleypriest avatar bradleypriest commented on August 17, 2024

ping @tylernappy @jbescoyez

from mailjet-gem.

tylernappy avatar tylernappy commented on August 17, 2024

Hi,

I apologize for a late response on this. I'm currently looking into this and will get back to you soon.

from mailjet-gem.

tbuyle avatar tbuyle commented on August 17, 2024

As I only need to use Mailjet for SMTP, this is not an urgent issue for me.

But it would certainly be better to change this.

from mailjet-gem.

tbuyle avatar tbuyle commented on August 17, 2024

Sorry to be nitpicking but shouldn't the line "ActiveSupport.parse_json_times = ... " be completely removed ?

Here we are still setting a global application config by default.

Wouldn't it be better to leave the application config as it is and, if necessary, set a new variable for the library to use ?

from mailjet-gem.

bradleypriest avatar bradleypriest commented on August 17, 2024

Yeah, this is not solved at all.
Firstly, the whole point was to remove the global config,
Secondly, how the hell did the whole test suite not fail by changing such a core toggle.
I'm seriously worried about the technical abilities of my mail provider right now

from mailjet-gem.

bradleypriest avatar bradleypriest commented on August 17, 2024

I'm not sure why I can't reopen, can you guys please do it from your end

from mailjet-gem.

tylernappy avatar tylernappy commented on August 17, 2024

Hi,

Sorry for the premature issue closing :/

We are working on a solution to this issue that will be implemented shortly.

from mailjet-gem.

tylernappy avatar tylernappy commented on August 17, 2024

Hi,

In our most recent update, we have taken out the option that globally changes the date output from JSON. Now, only dates output from our API will be parsed, leaving JSON dates from other sources unaffected.

from mailjet-gem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.