Date/Time Picker Format
Hello, first, thanks for making Vikunja! Use it every day and I love it.
I'm having a somewhat frustrating issue that is most likely user error, but not sure how.
I'm running unstable (I need dark mode) docker-compose with traefik as reverse proxy. I have my timezone set in the user settings and VIKUNJA_SERVICE_TIMEZONE is set to "America/Los_Angeles" as an environment variable (was not like that at first, it was added later).
Despite this, the time in the date/time picker is 24 hours, not AM/PM. Have I done something incorrectly?
Here is my docker-compose.yml file:
version: '3' services: api: image: vikunja/api:unstable environment: VIKUNJA_DATABASE_HOST: db VIKUNJA_DATABASE_PASSWORD: bleepbloop VIKUNJA_DATABASE_TYPE: mysql VIKUNJA_DATABASE_USER: vikunja VIKUNJA_DATABASE_DATABASE: vikunja VIKUNJA_SERVICE_ENABLEREGISTRATION: "false" VIKUNJA_SERVICE_ENABLETASKATTACHMENTS: "true" VIKUNJA_SERVICE_ENABLEEMAILREMINDERS: "true" VIKUNJA_MAILER_ENABLED: "true" VIKUNJA_MAILER_FORCESSL: "true" VIKUNJA_MAILER_HOST: bleepbloop VIKUNJA_MAILER_PORT: bleepbloop VIKUNJA_MAILER_USERNAME: bleepbloop VIKUNJA_MAILER_PASSWORD: bleepbloop VIKUNJA_SERVICE_TIMEZONE: America/Los_Angeles volumes: - ./files:/app/vikunja/files networks: - web - default depends_on: - db restart: unless-stopped labels: - "traefik.enable=true" - "traefik.http.routers.vikunja-api.rule=Host(`vk.bleepbloop.com`) && PathPrefix(`/api/v1`, `/dav/`, `/.well-known/`)" - "traefik.http.routers.vikunja-api.entrypoints=websecure" - "traefik.http.routers.vikunja-api.tls.certResolver=lets-encrypt" frontend: image: vikunja/frontend:unstable labels: - "traefik.enable=true" - "traefik.http.routers.vikunja-frontend.rule=Host(`vk.bleepbloop.com`)" - "traefik.http.routers.vikunja-frontend.entrypoints=websecure" - "traefik.http.routers.vikunja-frontend.tls.certResolver=lets-encrypt" networks: - web - default restart: unless-stopped db: image: mariadb:10 command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci environment: MYSQL_ROOT_PASSWORD: bleepbloop MYSQL_USER: vikunja MYSQL_PASSWORD: bleepbloop MYSQL_DATABASE: vikunja volumes: - ./db:/var/lib/mysql restart: unless-stopped command: --max-connections=1000 networks: web: external: true
This is actually hard coded and not configurable nor depending on the time zone. Currently there's no way to change this but I think it would be a godd addition. Should be a user setting though, not an instance-wide one.
Very interesting, thank you! I agree that this would be a good feature, but it looks like AM/PM is already recognized in some builds?
I see that the date picker in the Geeked video from last year has the date picker in 24 hr format, but the format of the time in the task is AM/PM - mine is the same as what was selected in the date picker (24 hr format).
His says "2:05:00 PM" (link to exact time in video)
Whereas mine looks like this:
but it looks like AM/PM is already recognized in some builds?
I think that was changed at some point after the video was released to match the datepicker. I always use the 24h format and therefore thought this should be the same. But it should be a user setting instead.
Got it, thank you.
Will leave this open as a feature request if that's ok, otherwise, please feel free to close it!
Not sure if this can already be set: The first day of week should probably be handled similar.
Deleting a branch is permanent. It CANNOT be undone. Continue?