# |
May 29th 2016, 17:46 |
dakota |
which is also correct :slightly_smiling_face: |
# |
May 29th 2016, 17:46 |
dakota |
Which will give you 2016-01 |
# |
May 29th 2016, 17:46 |
dakota |
mesterjagel: You should be using YYYY |
# |
May 29th 2016, 17:43 |
dakota |
but you shouldnâ??t need to imo |
# |
May 29th 2016, 17:43 |
flashios09 |
so you can create a custom method inside Time helper and do it manually using days |
# |
May 29th 2016, 17:43 |
dakota |
> An ISO week-numbering year (also called ISO year informally) has 52 or 53 full weeks |
# |
May 29th 2016, 17:42 |
mesterjagel |
There is:) |
# |
May 29th 2016, 17:40 |
flashios09 |
there is no week 53 on a year ! |
# |
May 29th 2016, 17:40 |
mesterjagel |
which falls under week 53 |
# |
May 29th 2016, 17:40 |
mesterjagel |
And I do succeed with all other conversions than the above mentioned |
# |
May 29th 2016, 17:39 |
mesterjagel |
Yes:) |
# |
May 29th 2016, 17:39 |
flashios09 |
week nbr ? |
# |
May 29th 2016, 17:38 |
flashios09 |
what do you want to get ? |
# |
May 29th 2016, 17:38 |
mesterjagel |
@flashios09: It canâ??t really locate an explanation for why they would ignore week 53:/ But thank you for the link anyway:)! |
# |
May 29th 2016, 17:31 |
mesterjagel |
Thanks! |
# |
May 29th 2016, 17:31 |
flashios09 |
@mesterjagel: take a look at this http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details |
# |
May 29th 2016, 17:30 |
mesterjagel |
Hey guys. An other formatting question, somehow formatting the following: object(Cake\I18n\Time) { 'time' => '2015-12-28T07:56:45+00:00', 'timezone' => 'UTC', 'fixedNowTime' => false } with i18nFormat(yyyy-ww) turns it into: â??2015-01â?? rather than : â??2015-53â?? Any ideas why ? |
# |
May 29th 2016, 15:54 |
ionas |
well you can do it with uuidâ?¦ but its not nice :) |
# |
May 29th 2016, 15:53 |
ionas |
if you use NICE integer ids (I like em ;p) you can do $this->displayField([â??idâ??, â??nameâ??]); |
# |
May 29th 2016, 15:53 |
ionas |
btw you can use a composite display field |
# |
May 29th 2016, 15:53 |
ionas |
joelro: donâ??t worry if you are not with cakephp3 forever and did not read every â??f0rkingâ? manual page ;) then you miss out stuff sometimes :) |
# |
May 29th 2016, 15:52 |
joelro |
ionas, thank you again for your help...not sure how I missed that, but I greatly appreciate it |
# |
May 29th 2016, 15:52 |
hekep |
lets rename action classes to command classes :) |
# |
May 29th 2016, 15:28 |
graziel |
thanks @markstory |
# |
May 29th 2016, 15:12 |
ionas |
donâ??t forget to set it as unique - if you donâ??t you could have identification problems |
# |
May 29th 2016, 15:12 |
joelro |
thank you |
# |
May 29th 2016, 15:12 |
ionas |
joelro: also you can just name stuff id and name (if you can) and it will pick up name as display field |
# |
May 29th 2016, 15:12 |
ionas |
joelro: displayField |
# |
May 29th 2016, 15:07 |
markstory |
graziel: That css fix should be up now. |
# |
May 29th 2016, 14:47 |
ionas |
ACTION renames admad to atmad |
# |
May 29th 2016, 14:47 |
admad |
i am mad at everyone |
# |
May 29th 2016, 14:47 |
ionas |
ACTION wonders if admad is mad at me. |
# |
May 29th 2016, 14:47 |
admad |
hmic: i can |
# |
May 29th 2016, 14:47 |
hmic |
ionas, i wonder if he can see the /me messages on slack |
# |
May 29th 2016, 14:46 |
ionas |
admad are you blogging? |
# |
May 29th 2016, 14:46 |
ionas |
p |
# |
May 29th 2016, 14:46 |
ionas |
ACTION shoes admad away |
# |
May 29th 2016, 14:46 |
ionas |
slackebot: !help |
# |
May 29th 2016, 14:46 |
admad |
he's hiding from you |
# |
May 29th 2016, 14:46 |
ionas |
;p |
# |
May 29th 2016, 14:46 |
ionas |
slackebot: !list |