Log message #4169804

# At Username Text
# Oct 3rd 2018, 14:37 ricksaccous to run it or something
# Oct 3rd 2018, 14:37 ricksaccous in cake migrations is it possible to offer a y/n option
# Oct 3rd 2018, 14:14 lubos that's why to merge question at first place
# Oct 3rd 2018, 14:14 lubos I know I could and I do... but than I need to have datetime for both inputs :slightly_smiling_face:
# Oct 3rd 2018, 14:14 neon1024 It’s certainly worth proposing @lubos for sure!
# Oct 3rd 2018, 14:13 neon1024 You could format a datetime to display just the time :slightly_smiling_face:
# Oct 3rd 2018, 14:13 lubos Regards DateTime classess, I have to admit I rather open Chronos docs instead of Cake DateTIme because it is better documented even when I use FrozenDate = know I can do whatever I did with Chronos... should we update Cake book DateTime part to be like Chronos docs?
# Oct 3rd 2018, 14:13 neon1024 Why not keep what you had and change the UI?
# Oct 3rd 2018, 14:11 lubos or well, the DB i have install_from and install_to and which is datetime and I had those two form inputs... then client changed its mind and wants install_date and install_time_from + install_time_to because date is same all the time so I have decided keeping DB schema as is just play with inputs
# Oct 3rd 2018, 14:10 neon1024 But each to their own! :slightly_smiling_face:
# Oct 3rd 2018, 14:10 neon1024 I would probably just wrap it with a div and use css to do that
# Oct 3rd 2018, 14:10 lubos easier form than building custome form widget (need it at 2 rows)
# Oct 3rd 2018, 14:10 neon1024 https://book.cakephp.org/3.0/en/views/helpers/form.html#creating-datetime-controls
# Oct 3rd 2018, 14:09 neon1024 Why not use a single input?
# Oct 3rd 2018, 14:07 lubos It is fun to work with those objects nowdays :slightly_smiling_face:
# Oct 3rd 2018, 14:07 lubos And yes, getting used to FrozenTime and FrozenDate rather than Chronos :slightly_smiling_face:
# Oct 3rd 2018, 14:06 lubos OK. True, thanks. I just have two form inputs, one is date and second time and want to merge it... i guess I just use date and adjust time in beforeSave
# Oct 3rd 2018, 14:04 neon1024 Although you might want to create an instance of `\Cake\I18n\Date` instead, as it’s mutable so you can set the time to the same object once it’s created
# Oct 3rd 2018, 14:03 neon1024 `new \Cake\I18n\FrozenTime()`
# Oct 3rd 2018, 14:03 neon1024 Bah, failed again
# Oct 3rd 2018, 14:02 neon1024 `new \Cake\I18n\Chronos()` ?
# Oct 3rd 2018, 14:02 neon1024 Er, let me remember, everyone has told me a billion time
# Oct 3rd 2018, 14:02 neon1024 Just use the right one!
# Oct 3rd 2018, 13:44 lubos What's the best approach to merge Date object and Time object to create DateTime? :slightly_smiling_face:
# Oct 3rd 2018, 13:24 flavius indeed!
# Oct 3rd 2018, 13:23 neon1024 Because `$this->Tweets->find()` is so much easier than faffing with \Cake\Network\Http\Client
# Oct 3rd 2018, 13:23 neon1024 Well now you can!
# Oct 3rd 2018, 13:17 flavius neat, i remember chats about not being able to do it for cake 3 since the ORM was changed
# Oct 3rd 2018, 13:17 neon1024 If you’re interacting with a web service it will abstract that out into an ORM style for you
# Oct 3rd 2018, 13:16 neon1024 Kinda
# Oct 3rd 2018, 13:16 flavius @neon1024 is that some sort of implementation of a `DataSource` which cake2 had?
# Oct 3rd 2018, 13:04 neon1024 Let me know :)
# Oct 3rd 2018, 13:04 neon1024 https://github.com/UseMuffin/Webservice/issues/74
# Oct 3rd 2018, 13:03 neon1024 Well, if anyone would like to test the RC1 muffin/webservice plugin! Please do :slightly_smiling_face: https://github.com/usemuffin/webservice
# Oct 3rd 2018, 13:02 neon1024 It was, I agree
# Oct 3rd 2018, 12:52 zdf_ can't you get another?
# Oct 3rd 2018, 12:52 zdf_ well not fint...print
# Oct 3rd 2018, 12:51 zdf_ i used to but a cheapest vps plan for 1.5$/month
# Oct 3rd 2018, 12:51 zdf_ and a claimed rating of 20000% higher
# Oct 3rd 2018, 12:51 zdf_ i mean he aint wrong
# Oct 3rd 2018, 12:51 btx we’re gonna get yelled at for being off-topic in support, but it was @admad’s fault