Log message #4212669

# At Username Text
# Nov 7th 2019, 09:30 javier.villanueva thanks
# Nov 7th 2019, 09:29 jotpe '10 Februar' in my Case
# Nov 7th 2019, 09:29 javier.villanueva works
# Nov 7th 2019, 09:29 javier.villanueva ; )
# Nov 7th 2019, 09:29 slackebot1 <jotpe>
# Nov 7th 2019, 09:29 jotpe Like this:
# Nov 7th 2019, 09:29 jotpe Use i18nFormat()
# Nov 7th 2019, 09:28 jotpe sorry for this.
# Nov 7th 2019, 09:28 jotpe Yes
# Nov 7th 2019, 09:28 javier.villanueva I must use i18nFormat instead format
# Nov 7th 2019, 09:28 javier.villanueva i18nFormat
# Nov 7th 2019, 09:28 javier.villanueva I think that I have found a solution
# Nov 7th 2019, 09:28 javier.villanueva I will check german too...
# Nov 7th 2019, 09:28 javier.villanueva mmm
# Nov 7th 2019, 09:27 conehead do the translations exist?
# Nov 7th 2019, 09:27 javier.villanueva es_ES
# Nov 7th 2019, 09:27 conehead `Configure::read('App.defaultLocale');` returns what?
# Nov 7th 2019, 09:24 javier.villanueva day and month names
# Nov 7th 2019, 09:24 javier.villanueva yes
# Nov 7th 2019, 09:24 conehead So you mean the day names are not translated?
# Nov 7th 2019, 09:24 javier.villanueva xD
# Nov 7th 2019, 09:24 javier.villanueva if I use MMMM or MMM I have NovNovNovNov ...
# Nov 7th 2019, 09:23 javier.villanueva @jotpe ok I try
# Nov 7th 2019, 09:22 javier.villanueva should be Dom Nov
# Nov 7th 2019, 09:22 javier.villanueva but if I use D M for example -> Sun Nov
# Nov 7th 2019, 09:22 jotpe or MMMM
# Nov 7th 2019, 09:22 javier.villanueva in this example yes...
# Nov 7th 2019, 09:22 jotpe d MMM :slightly_smiling_face:
# Nov 7th 2019, 09:22 conehead and it should be?
# Nov 7th 2019, 09:21 javier.villanueva d M is -> 04 Nov
# Nov 7th 2019, 09:21 jotpe https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classSimpleDateFormat.html#details
# Nov 7th 2019, 09:21 jotpe `$from->format('d M')` is just a Format of Day and Month (like 07 11) like I understand it? There's nothing to translate, or?
# Nov 7th 2019, 09:18 javier.villanueva with APP_DEFAULT_LOCALE es_ES neither doesnt work (dates)
# Nov 7th 2019, 09:12 javier.villanueva I have NO problem in rest of the translations (texts, tables...) with i18n, but dates...
# Nov 7th 2019, 09:10 javier.villanueva ``` I18n::setLocale('es_ES'); $from = new Date($date); $to = new Date($end_week); return $week.' ('.$from->format('d M').' - '.$to->format('d M').')'; ```
# Nov 7th 2019, 09:09 jotpe How do you format it?
# Nov 7th 2019, 09:07 javier.villanueva any idea?
# Nov 7th 2019, 09:07 javier.villanueva I am using Cake\I18n\Date; , and my I18n::setLocale('es_ES'); but dates always are shown in english ...
# Nov 7th 2019, 08:55 challgren Pieceof the chat is in slack
# Nov 7th 2019, 08:45 javier.villanueva morning all
# Nov 7th 2019, 08:02 pieceof im looking for fresh news about jwt