Status

4 years ago
3 years ago

People

(Reporter: needspeed, Unassigned, Mentored)

Tracking

2015-1.6
x86_64
Windows 8.1

Details

(Whiteboard: [Triage 2015-04-17])

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Build ID: 20141126041045

Steps to reproduce:

1. i've registered at Mozillians in November 2014
2. Now, its January 2015


Actual results:

a "Mozillain" time, displayed under my user account avatar, incorrect. It's displayed as "1 year". It is obviosly seen if you visit my profile page below:
https://mozillians-dev.allizom.org/ru/u/mihailo/


Expected results:

since i've registered at Mozillians 3 months ago (at November 2014), my Mozillian time under avatar should be displayed like "3 months"
(Reporter)

Updated

4 years ago
OS: All → Windows 8.1
Hardware: All → x86_64
The way we calculate mozillian's years needs some fine tuning. Making this one a mentored bug.
Here is the code that does the calculation:

https://github.com/mozilla/mozillians/blob/92ec0ddff6d12ff133a561885bafbd0d36783603/mozillians/phonebook/helpers.py#L33
Mentor: jgiannelos
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [Triage 2015-04-17]

Comment 2

3 years ago
Hi, I would like to work on this bug, but is it necessary to have the same OS because I currently have Windows 7.
Our current development environment is based on docker. Our docs do not support docker installation on Windows but you can always try. For more information please read docker documentation [1]. If docker is installed in your system, here are the steps to run our docker container [2].

[1] https://docs.docker.com/installation/windows/
[2] https://mozillians.readthedocs.org/en/latest/installation/installation-docker.html#building-mozillians

Comment 4

3 years ago
Sorry, I meant that to test the bug, would I need Windows 8? I have docker running on my Linux machine and have mozillians set up already.
No you don't need windows 8 to reproduce this. By the way if you have any more questions you can always ping me on irc (#commtools on irc.mozilla.org).
You need to log in before you can comment on or make changes to this bug.