# |
Aug 20th 2019, 16:41 |
daniel.upshaw |
Oh! Seems to be possible with `->getParam($passedName)` |
# |
Aug 20th 2019, 16:38 |
daniel.upshaw |
Trying to find a way to use "named pass," associative |
# |
Aug 20th 2019, 16:38 |
daniel.upshaw |
Both using `->setPass()` and adding to the URL array |
# |
Aug 20th 2019, 16:38 |
daniel.upshaw |
They seem to come in indexed, so it's hard to predict what the variables will be |
# |
Aug 20th 2019, 16:37 |
daniel.upshaw |
If the same Controller action has some optional arguments |
# |
Aug 20th 2019, 16:37 |
daniel.upshaw |
Passing parameters in routes seems to be a bit confusing |
# |
Aug 20th 2019, 16:33 |
graziel |
you can check whats possible with `bin/cake bake migration --help` |
# |
Aug 20th 2019, 16:29 |
lpj145 |
not can be create with bake command ? |
# |
Aug 20th 2019, 16:28 |
ricksaccous |
@lpj145 you can easily create migrations in a plugin path but apart from that you can just create them and move them wherever you want |
# |
Aug 20th 2019, 16:13 |
lpj145 |
@deal have a release time to 4x ? |
# |
Aug 20th 2019, 16:13 |
lpj145 |
with "cake bake migration MigrationName " |
# |
Aug 20th 2019, 16:13 |
lpj145 |
hi guy's.... someone know how i can create migration in another path ? |
# |
Aug 20th 2019, 15:30 |
ricksaccous |
lol |
# |
Aug 20th 2019, 15:30 |
ricksaccous |
i'm thinking if he doesn't budge at first i'll offer to pay for the plane ride myself/etc until he's like OKAY FINE GO |
# |
Aug 20th 2019, 15:29 |
alexdd55976 |
i tried that too... received a good laugh |
# |
Aug 20th 2019, 14:22 |
ricksaccous |
i need to convince my manager/boss it sounds like a fun trip |
# |
Aug 20th 2019, 14:21 |
dereuromark |
not sure yet |
# |
Aug 20th 2019, 14:19 |
ricksaccous |
@dereuromark are you going to Japan? |
# |
Aug 20th 2019, 14:19 |
dereuromark |
huhu, cake4 project (app) is now level 7 in phpstan :slightly_smiling_face: https://github.com/cakephp/app/blob/4.x/phpstan.neon |
# |
Aug 20th 2019, 13:39 |
jiri.sejhar |
if i have tree and update o item which is bettween others at first place and i update this item this item is now at last place in the branch in sql there is something strange . Why? UPDATE customers SET lft = ( (lft + -2) ) WHERE ( lft BETWEEN 3 AND 4 ) |
# |
Aug 20th 2019, 13:31 |
martin |
:P |
# |
Aug 20th 2019, 13:23 |
ricksaccous |
international love |
# |
Aug 20th 2019, 13:23 |
ricksaccous |
woah woah woah woah |
# |
Aug 20th 2019, 13:22 |
martin |
hope we have no short plans to go international :P |
# |
Aug 20th 2019, 13:22 |
martin |
oh I switched to irc again |
# |
Aug 20th 2019, 13:21 |
Martin` |
:P |
# |
Aug 20th 2019, 13:21 |
neon1024 |
It’s an ‘off-by-two’ error ;) |
# |
Aug 20th 2019, 13:21 |
neon1024 |
Technically it already is, you’re just offset |
# |
Aug 20th 2019, 13:20 |
martin |
everything switching to utc would be nice |
# |
Aug 20th 2019, 13:20 |
martin |
something to look at, |
# |
Aug 20th 2019, 13:20 |
martin |
when I use UTC in this project, things start two hours early :P |
# |
Aug 20th 2019, 13:19 |
martin |
:P |
# |
Aug 20th 2019, 13:19 |
admad |
..and that's why kids you always use UTC |
# |
Aug 20th 2019, 13:19 |
martin |
but I did expect it was not needed to set the timezone by formatting |
# |
Aug 20th 2019, 13:19 |
martin |
I now do `'created' => $post['created_time']->i18nFormat('YYYY-MM-dd HH:mm:ss', 'Europe/Amsterdam')` that works fine :P |
# |
Aug 20th 2019, 13:18 |
martin |
@admad yes that is what I have now, but from facebook (via webservice) I get an UTC time, and I just did save that one, but that fails |
# |
Aug 20th 2019, 13:03 |
eax |
@spriz Negative, just a Command/Shell listening for stuff from Redis :slightly_smiling_face: |
# |
Aug 20th 2019, 13:02 |
admad |
specify your timezone in db config and change PHP's default timezone to the same |
# |
Aug 20th 2019, 13:01 |
martin |
I also want to change my databases to utc, but I think this will break other things :P |
# |
Aug 20th 2019, 13:00 |
martin |
Wish I was default :( |
# |
Aug 20th 2019, 12:56 |
admad |
you don't need to much around with those classes if all you need to to is change deefault timezone |