# |
Feb 2nd 2018, 14:41 |
neon1024 |
Yeah, you’re welcome |
# |
Feb 2nd 2018, 14:41 |
hmic |
most hong kong ppl can either speak mandarin as well, because they came from the mainland in the last 20 years, or they can speak english as well, becasue they are there longer than that... |
# |
Feb 2nd 2018, 14:40 |
hmic |
absolutely |
# |
Feb 2nd 2018, 14:40 |
neon1024 |
I mean, I’d learn Mandarin as well. More useful as a language I’d imagine |
# |
Feb 2nd 2018, 14:39 |
hmic |
yes, they do. |
# |
Feb 2nd 2018, 14:39 |
hmic |
maybe i start building a cakephp community there, which might want to translate the things... |
# |
Feb 2nd 2018, 14:39 |
neon1024 |
But doesn’t Hong Kong speak Cantonese predominantly ? |
# |
Feb 2nd 2018, 14:39 |
hmic |
and it's f***ing hard to learn to speak and understand the word, i'm not even *trying* to learn the characters for now *fg* |
# |
Feb 2nd 2018, 14:38 |
hmic |
i'm not going to learn cantonese, i'm up for mandarin only |
# |
Feb 2nd 2018, 14:38 |
hmic |
cake has been with me for a good 10 years now... even though my work will move a little more to the hardware side of things :) |
# |
Feb 2nd 2018, 14:37 |
neon1024 |
So we’ll be getting some Cantonese translations for the docs then? ;) |
# |
Feb 2nd 2018, 14:37 |
neon1024 |
Wow, sounds great hmic! Good luck with the move |
# |
Feb 2nd 2018, 14:37 |
hmic |
sure. |
# |
Feb 2nd 2018, 14:37 |
hmic |
i already opened up a company in hong kong, just need to get rid of my stuff and hit the road :D |
# |
Feb 2nd 2018, 14:36 |
admad |
we will still see you around here right? |
# |
Feb 2nd 2018, 14:36 |
admad |
best of luck |
# |
Feb 2nd 2018, 14:36 |
hmic |
can't get a residence visa for china, so this is the next best thing to do |
# |
Feb 2nd 2018, 14:35 |
hmic |
yes. moving to hong kong finally |
# |
Feb 2nd 2018, 14:35 |
hmic |
so, in the bigger scheme of things, nope, sorry |
# |
Feb 2nd 2018, 14:35 |
admad |
leave for good? |
# |
Feb 2nd 2018, 14:35 |
hmic |
as i plan to leave the country end of the month :D |
# |
Feb 2nd 2018, 14:35 |
hmic |
which actually means selling my stuff on ebay |
# |
Feb 2nd 2018, 14:34 |
hmic |
i want this fixed in my app and go in the weekend |
# |
Feb 2nd 2018, 14:34 |
admad |
How about going the full monty and providing a fix for it too? :) |
# |
Feb 2nd 2018, 14:31 |
hmic |
https://github.com/cakephp/cakephp/issues/11686 |
# |
Feb 2nd 2018, 14:30 |
admad |
on the bright side it's weekend tomorrow |
# |
Feb 2nd 2018, 14:30 |
admad |
:slightly_smiling_face: |
# |
Feb 2nd 2018, 14:28 |
hmic |
i just wanted to get a sane date format, turns out, all friday gone before it's fixed :and |
# |
Feb 2nd 2018, 14:26 |
admad |
you can link the gist in your bug report :slightly_smiling_face: |
# |
Feb 2nd 2018, 14:07 |
hmic |
https://gist.github.com/hmic/793fd42ea8c68f8ed6339497e9989830 |
# |
Feb 2nd 2018, 14:01 |
admad |
with test case :slightly_smiling_face: |
# |
Feb 2nd 2018, 14:00 |
admad |
File a bug report |
# |
Feb 2nd 2018, 14:00 |
hmic |
this ought to be a quite simple task :Ü |
# |
Feb 2nd 2018, 13:59 |
hmic |
it does. just nesting everything one layer deeper everytime you call it |
# |
Feb 2nd 2018, 13:59 |
admad |
wtf, normalizing an array twice shouldn't mess it up |
# |
Feb 2nd 2018, 13:54 |
hmic |
but cant do that, the View::loadHelpers() calls that method (again) and nests the array again, instead of recognising it is in the correct form already |
# |
Feb 2nd 2018, 13:53 |
hmic |
good hint |
# |
Feb 2nd 2018, 13:49 |
admad |
do `$this->helpers = $this->helpers()->normalizeArray($this->helpers);` first :slightly_smiling_face: |
# |
Feb 2nd 2018, 13:47 |
hmic |
so i need to check all the elements, if numerically indexed, and remove if i want to load an alias for them :/ |
# |
Feb 2nd 2018, 13:47 |
hmic |
still the HtmlHelper is in the $this->helpers like: [0 => 'Html'] while the alias, which should overwrite/remove the former one is ['Html' => 'BootstrapUI.Html'] of course |
# |
Feb 2nd 2018, 13:46 |
hmic |
thats what i fixed already |