Commit graph

11 commits

Author SHA1 Message Date
6ec54a379d
feat: add linting of code (#1220)
* feat(lint): add php-cs-fixer for linting

Removing previous CODE_STYLE as it was not enforced anyway and using PER-CS 2.0.

This is not the reformatting commit.

* style: format code according to PER-CS 2.0 with php-cs-fixer

* ci(actions): add lint action

Resolves #1132.
2025-01-31 18:20:13 +03:00
veselcraft
198bf7472d
fix(datetime): adjust to timezone 2024-12-13 16:24:51 +03:00
44531fcbb0
fix(DateTime): use php81_bc/strftime (#1063)
Native strftime was deprecated in PHP 8.1 so I replaced it with an
alternative library that uses ICU so that you don't have to set up
locales on your server anymore.
Also this commit removes AM/PM labels as timestamps were in 24h format
anyways, regardless of locale.
2024-01-02 22:22:10 +02:00
celestora
0e22d1866f Fix certain poll functions
Polls can now be set to quiz mode correctly, weird characters in options no longer crash OpenVK
2022-10-11 20:24:34 +03:00
veselcraft
6c90bd1d0f
Date: Hide seconds if smth was created today or ACTUALLY yesterday 2022-01-24 16:16:24 +03:00
veselcraft
4ae74841e0
Date: Hide seconds if smth was created today or yesterday 2022-01-24 16:15:27 +03:00
veselcraft
b9f4cedca5
Date: Make it more user-friendly 2022-01-24 16:08:40 +03:00
veselcraft
b0a843f17a wait i am retarded 2021-01-04 12:54:57 -05:00
veselcraft
051b7d7434 [FIX] Using ISO-8601:1988 year standard (%g) instead of dividing year by 100 (%G) 2021-01-04 12:50:41 -05:00
Alma Armas
b2f069f75f Make DateTime compatible with Windows 2020-09-29 12:59:59 -07:00
Jill Stingray
db845c3c0b Initial commit 2020-06-07 19:04:43 +03:00