Coder Social home page Coder Social logo

forecast-php's People

Contributors

bitdeli-chef avatar guhelski avatar markomarkovic avatar tobiasehlert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

forecast-php's Issues

UTF-8 encoding

The encoding for the – character is displaying as –. For example, if we are expecting snow the forecast says, "Snow (1–2 in.) throughout the day." Is the data encoded as UTF-8?

Please create a release

To help with composer management on sites that use this. Tag - Packagist release would be really helpful.

API breaks when current locale uses a different decimal separator

The code that composes a request uses string concatenation to interpolate latitude and longitude into a URL. This triggers a conversion to string, which, for numeric values, uses the current locale. If the locale is something like nl_NL, which uses ',' as the decimal separator rather than '.', then so will the resulting URL. The Forecast API, however, expect the dot character, always, so this produces an error.

On a side note, there is also a security implication here; I'll be happy to explain in private if you prefer.

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.