-
- 25 Posts
Have you got the Locale set in System Settings under Lexicon and Language? Try pl_PL as the value. If I do this it renders all my dates in Polish.
-
- 134 Posts
no change:/ still "?" in dates
Check out blackflow.pl
-
- 111 Posts
Go into MODX System options, find variable "locale" and try these values
pl
pl_PL
pl_PL.UTF-8
pl_PL.utf8
in every case: clear cache then do full refresh in your browser. It may not work, cause I suspect that Archivist caches months names in some way and clearing MODX cache doesn't affect it. I've looked thru it's code but still have no idea how it works.
---
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. Martin Golding
-
- 111 Posts
MODX uses PHP's strftime to get date and this function uses encoding set in 'locale' system variablee. Standard polish encoding set by locale=pl_PL is ISO 8859-2 but your page is encoded in UTF-8. That's why it differs from other strings in MODX (encoded by database).
As a side note, UTF-8 doesn't work when using webserver under Windows, so don't be surprised when you start using PHP on local computer.
Powodzenia
---
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. Martin Golding