gbrainy incorrect answer expected 14 PM

Bug #1044972 reported by BrerBunny
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gbrainy (Ubuntu)
Fix Released
Undecided
Jordi Mas

Bug Description

In the gbrainy game logic section, the following question is asked:
"5 hours ago it was as long after 3AM as it was before 3PM on the same day. What is the time now? Answer using the hour (e.g: 3 PM)"
The correct answer to this puzzle is 2 PM.
However, gbrainy marks this as incorrect and gives the correct asnwer as 14PM, which is incorrect syntax. You do not supercede a 24 hour time stamp with an ante-meridian or post-meridian suffix, and the question asks for the time to be given in 12 hour format.

Tags: gbrainy
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gbrainy (Ubuntu):
status: New → Confirmed
Revision history for this message
Jordi Mas (jmas-softcatala) wrote :

Thanks for reporting the bug

I have some questions:

- Which version of Ubuntu are you using?

- Which locale?

- Which version of gbrainy?

Thanks,

Jordi,

Revision history for this message
BrerBunny (brerbunnie) wrote :

Hello Jordi,

I'm running Ubuntu 12.04 LTS.
My locale is en_gb or en_gb.UTF-8 (Great Britain)
I'm using gbrainy 2.1.2

Hope this helps!

Brer Bunny

Revision history for this message
Jordi Mas (jmas-softcatala) wrote :

I cannot reproduce this with the latest version of gbrainy.

Thanks for the report

Jordi,

Revision history for this message
BrerBunny (brerbunnie) wrote :

Here's a screen shot. It seems I have the up to date version as far as apt-get update and software updater is concerned.
You can see the incorrect answer expected. I entered in 2 PM
Brer Bunny

Revision history for this message
BrerBunny (brerbunnie) wrote :

It's a great game by the way. Thanks for writing it!

Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote :

I think it should be fixed in git now.

Revision history for this message
Jordi Mas (jmas-softcatala) wrote :

Thanks a lot Brer for your feedback

This was only happening for British English. It was not happening in American English.

Bruce fix the issue.

Thanks! Jordi,

Changed in gbrainy (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Simon Reed (xubuntu-o) wrote :

I have seen this in gbrainy v2.1.2 on Xubuntu 12.04 64-bit in a UK English. I have had 2 PM rejected when it wanted 14 PM, and I have had 13 PM accepted on another occasion.

Changed in gbrainy (Ubuntu):
assignee: nobody → Jordi Mas (jmas-softcatala)
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.