Log message #4132356

# At Username Text
# Apr 13th 2018, 14:25 narendravaghela right, it is there but never tried, actually never needed that kind of thing
# Apr 13th 2018, 14:21 neon1024 @narendravaghela https://github.com/cakephp/chronos/blob/master/src/Traits/DifferenceTrait.php#L279
# Apr 13th 2018, 14:16 neon1024 As `\Cake\i18n\Time` seems to only implement MutableDateTime
# Apr 13th 2018, 14:16 neon1024 Isn’t it DateTime -> Carbon -> Chronos -> Time?
# Apr 13th 2018, 14:16 neon1024 Now I need to see if all the gazillion extending classes still implement it
# Apr 13th 2018, 14:15 neon1024 http://carbon.nesbot.com/docs/#api-humandiff
# Apr 13th 2018, 14:15 neon1024 Ah, well it’s part of Carbon
# Apr 13th 2018, 13:56 narendravaghela :)
# Apr 13th 2018, 13:56 neon1024 Feel free to propose it in a ticket :slightly_smiling_face:
# Apr 13th 2018, 13:54 narendravaghela Great, and if core members agree, we should add `timeLeftInWords` too.
# Apr 13th 2018, 13:53 neon1024 Yes, I have a `timeToGoInWords()` method which uses the DateTime diff to count down to a datetime
# Apr 13th 2018, 13:52 narendravaghela Does it contain the same function?
# Apr 13th 2018, 13:51 neon1024 Perhaps I should open source my Clock helper
# Apr 13th 2018, 13:47 neon1024 It would be nice if timeAgoInWords had it’s couterpart timeLeftInWords
# Apr 13th 2018, 12:57 neon1024 @steinkel Thanks! I’ll try that
# Apr 13th 2018, 12:52 mtreu ty :)
# Apr 13th 2018, 12:52 mtreu works fine
# Apr 13th 2018, 12:52 btx if that doesn't work you probably have an issue somewhere else
# Apr 13th 2018, 12:51 btx (added the 'IN' to the where)
# Apr 13th 2018, 12:51 btx you may need $this->Applications->find()->where(['Applications.id IN'=>[14,15]])
# Apr 13th 2018, 12:50 mtreu InvalidArgumentException] Cannot convert value to integer in /var/www/html/vendor/cakephp/cakephp/src/Database/Type/IntegerType.php
# Apr 13th 2018, 12:50 mtreu same error
# Apr 13th 2018, 12:50 mtreu still not working
# Apr 13th 2018, 12:48 btx $this->Applications->find()->where(['Applications.id'=>[14,15]])
# Apr 13th 2018, 12:48 mtreu oh what would be the proper cakephp3 syntax
# Apr 13th 2018, 12:48 btx ok you're doing Cake 2.x find syntax on a Cake 3 model try ...
# Apr 13th 2018, 12:47 mtreu 3.5
# Apr 13th 2018, 12:47 btx what version of CakePHP
# Apr 13th 2018, 12:45 mtreu Error: [InvalidArgumentException] Cannot convert value to integer in /var/www/html/vendor/cakephp/cakephp/src/Database/Type/IntegerType.php
# Apr 13th 2018, 12:44 btx what does the error say
# Apr 13th 2018, 12:44 mtreu however it does not seem to work and i m only getting the standard cakephp error
# Apr 13th 2018, 12:43 mtreu $this->Applications->find('all',['conditions'=>['Applications.id'=>[14,15]]]);
# Apr 13th 2018, 12:43 mtreu syntax wise this should be fine no?
# Apr 13th 2018, 12:43 mtreu I want to find in my model Applications the indexes 14 and 15
# Apr 13th 2018, 12:42 mtreu i have a problem with multiple ID queries
# Apr 13th 2018, 12:42 mtreu Hi!
# Apr 13th 2018, 12:38 dereuromark there you can find the bootstrap plugin linked
# Apr 13th 2018, 12:38 lorenzo @stalkerxxl this https://github.com/friendsofcake/bootstrap-ui
# Apr 13th 2018, 12:37 slackebot2 !tell @stalkerxxl about awesome
# Apr 13th 2018, 12:37 slackebot2 Command sent from Slack by dereuromark:
# Apr 13th 2018, 12:32 stalkerxxl Guys, what's the easiest way to use bootstrap in CakePHP? I installed AdminLTE, but it's a plugin .. And I have little experience and I do not want to then look for errors in the code related to the plugins .. How do I switch to bootstrap (a simple template) so that BAKE works with it? P.S. Can someone have a Russian-speaking in this chat room?