nextcloud / nextcloud/passman

Expiration date calendar is wrong about language and days

Open
#678 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue visual
Dominant language
JavaScript
Stars
823
Forks
117
Avg merge
1d 21h
Merged PRs (30d)
8

Description

Bug report

When setting an expiration date the calendar do not honor language preference.

Also date and day are not correct

20210225_10h49m19s_grim

Steps to reproduce
  1. Set a language different to English, like French
  2. Set an expiration date to your password
  3. Check that the February 25rd is Friday and not Thursday
Expected behavior

Day should be in French
February 25rd should be Thursday

Actual behavior

Day are in english
February 25rd is Friday

Configuration

Operating system: Manjaro / Windows 10

Browser: Firefox 85

Passman version: 2.3.6

Operating system: Centos 7

Web server: nginx

Database: Mariadb

PHP version: 7.3 fpm


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named in the report. First reproduce the expiration-date calendar with French selected and verify the weekday against a known calendar; done means the calendar uses the selected language and shows February 25 as Thursday rather than Friday.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.