Open Bug 464688 Opened 16 years ago Updated 4 years ago

Time fields should be able to accept entries in hh:mm format

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: josebalepiz, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Build Identifier: 

It would be great if time tracking fields allow entries in hh:mm format, at least for Hours Worked, since the sexagesimal system is the natural way to measure time.

Reproducible: Always



Expected Results:  
Hours Worked field should accept the hh:mm format.
I'm surprised they don't already.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Whiteboard: [Good Intro Bug]
The time evaluated at Bugzilla::Object->_validate_time and stored in DB is represented as a decimal floating point number. How are we supposed to convert the hh:mm format to a decimal floating point number or vice versa?
Whiteboard: [Good Intro Bug] → [good first bug][lang=perl]
Can anyone tell me in which page this is to be added and how should i start working on it since this is my first bug!!! Pls help
raj454raj: You might want to search in your checkout of the Bugzilla codebase for "time tracking" or find the place where the function which is mentioned in comment 2 is called, after setting up your test instance of Bugzilla for testing your changes there before creating a patch.
Sorry but i didn't get you. This is my first bug so please explain somewhat in detail.
Sorry again!!!
(In reply to raj454raj from comment #5)
> Sorry but i didn't get you. This is my first bug so please explain somewhat
> in detail.

If you need help, better is to join Bugzilla developers on IRC irc://irc.mozilla.org/bugzilla rather than asking questions here.
Frederic, is this bug still valid in the current code base?  If so, this is marked as a good first bug and it would be helpful to have:
* link to the codebase
* link to the files that would need editing
* how to reproduce/test this issue
* a mentor assigned to this bug
Flags: needinfo?(LpSolit)
See Bugzilla::Object::_validate_time(), which is the validator for time tracking fields.
Flags: needinfo?(LpSolit)
No longer blocks: 1126453

Removing good-first-bug keyword because team does not have bandwidth to mentor at the moment.

Keywords: good-first-bug

can i work on this issue? is this issue still open?

Flags: needinfo?(josebalepiz)

can i work on this issue? is this issue still open?

Flags: needinfo?(create-and-change)

yes

Flags: needinfo?(josebalepiz)
Flags: needinfo?(create-and-change)

Hi , I'm an outreachy applicant for May 2020. Please I will love to contribute to this issue. Is this still open?

Whiteboard: [good first bug][lang=perl]
You need to log in before you can comment on or make changes to this bug.