Code Monkey home page Code Monkey logo

datetimeadvanced's People

Contributors

bitpoet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

datetimeadvanced's Issues

Returns a string

Great idea for a module!

It seems to just return a string instead of object tho. I've followed the installation instructions but when used, it's not different from Datetime field.

Would you know where to look for clues to fix this? Or is there a step I've missed?

WireDT::__toString() causes error when core expects class name

All PW modules extend WireData which extends Wire, and Wire::__toString() returns the class name.

It looks like the core expects all modules to return their class name as the string value - see FieldtypeModule.

This causes an error with WireDT because it does not return the class name in __toString(), so this use of wireClassParents() fails. You can see this error via Tracy in the PW back-end by editing any page that uses the admin template while DatetimeAdvanced is installed.

Not sure if this is something you could change in WireDT or maybe suggest to Ryan that $parents = wireClassParents("$module"); be replaced with $parents = wireClassParents($module); so the is_object() part of wireClassParents() would come into play.

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.