# |
Dec 30th 2019, 16:48 |
dsar |
_May not always be the same value as calendar year._ |
# |
Dec 30th 2019, 16:48 |
dsar |
https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classSimpleDateFormat.html#details |
# |
Dec 30th 2019, 16:46 |
admad |
ICU placeholders are pretty funky |
# |
Dec 30th 2019, 16:41 |
kevin.pfeifer |
still strange why it wasn't wrong for created but :man-shrugging: |
# |
Dec 30th 2019, 16:40 |
kevin.pfeifer |
thx for the help guys |
# |
Dec 30th 2019, 16:40 |
kevin.pfeifer |
@admad thx :) |
# |
Dec 30th 2019, 16:40 |
kevin.pfeifer |
according to http://userguide.icu-project.org/formatparse/datetime "YYYY" is wrong |
# |
Dec 30th 2019, 16:40 |
admad |
@kevin.pfeifer use yyyy to fix your year |
# |
Dec 30th 2019, 16:39 |
kevin.pfeifer |
thats what confused me |
# |
Dec 30th 2019, 16:39 |
kevin.pfeifer |
yap |
# |
Dec 30th 2019, 16:39 |
dsar |
It's still weird, because it works for created field |
# |
Dec 30th 2019, 16:38 |
ricksaccous |
i think it doesn't use standard date() format |
# |
Dec 30th 2019, 16:38 |
ricksaccous |
haha yeah i always have to look formatting up |
# |
Dec 30th 2019, 16:37 |
kevin.pfeifer |
i think my format is wrong^^ |
# |
Dec 30th 2019, 16:36 |
kevin.pfeifer |
wait |
# |
Dec 30th 2019, 16:36 |
kevin.pfeifer |
ohh |
# |
Dec 30th 2019, 16:36 |
kevin.pfeifer |
thats it |
# |
Dec 30th 2019, 16:36 |
kevin.pfeifer |
yop |
# |
Dec 30th 2019, 16:35 |
kevin.pfeifer |
lets try that custom date formatter on my barebones cake |
# |
Dec 30th 2019, 16:34 |
kevin.pfeifer |
wellp |
# |
Dec 30th 2019, 16:34 |
ricksaccous |
heh |
# |
Dec 30th 2019, 16:33 |
kevin.pfeifer |
and now the dates are being shown correctly |
# |
Dec 30th 2019, 16:33 |
kevin.pfeifer |
i just disabled my custom DateFormatters in my bootstrap.php |
# |
Dec 30th 2019, 16:33 |
ricksaccous |
because on mac case sensitivity of folders doesn't matter.... even when running a vagrant with ubuntu |
# |
Dec 30th 2019, 16:33 |
kevin.pfeifer |
its the custom dateformat |
# |
Dec 30th 2019, 16:33 |
kevin.pfeifer |
uh |
# |
Dec 30th 2019, 16:32 |
ricksaccous |
instead of IceCream |
# |
Dec 30th 2019, 16:32 |
ricksaccous |
IceCReam |
# |
Dec 30th 2019, 16:32 |
ricksaccous |
i spent hours figuring out that something wasn't working on review because i accidently committed a folder like |
# |
Dec 30th 2019, 16:32 |
kevin.pfeifer |
i keep you posted when i found it |
# |
Dec 30th 2019, 16:32 |
kevin.pfeifer |
thx |
# |
Dec 30th 2019, 16:31 |
kevin.pfeifer |
or i did something somewhere^^ |
# |
Dec 30th 2019, 16:31 |
ricksaccous |
that sucks, good luck figuring it out |
# |
Dec 30th 2019, 16:31 |
ricksaccous |
lol |
# |
Dec 30th 2019, 16:31 |
ricksaccous |
you must be doing something somewhere |
# |
Dec 30th 2019, 16:31 |
kevin.pfeifer |
so either my live server has a date problem |
# |
Dec 30th 2019, 16:31 |
ricksaccous |
welp |
# |
Dec 30th 2019, 16:31 |
kevin.pfeifer |
and there everything is fine |
# |
Dec 30th 2019, 16:31 |
kevin.pfeifer |
i just tested it on a bare cakephp4 |
# |
Dec 30th 2019, 16:31 |
kevin.pfeifer |
well |
# |
Dec 30th 2019, 16:31 |
kevin.pfeifer |
yeah, the most work for me was refactoring the old CakePHP Shell scripts to the new "Commands" and some special work in some of my Components |