thypbast / android-agenda-widget

Automatically exported from code.google.com/p/android-agenda-widget
0 stars 0 forks source link

Birthdays with no age information appear as '()' #380

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add Date of Birth information to a contact, without the year of birth. Eg.: 
15 August. for John

What is the expected output? What do you see instead?
Widget should show something like: Birthday: John
It currently shows: Birthday: John ()

What Android OS are you using? Which version of Agenda Widget
2.1.6

Original issue reported on code.google.com by ayasfa...@gmail.com on 6 Aug 2012 at 12:25

GoogleCodeExporter commented 8 years ago
Thanks, I didn't get to this today.

My birthdays are actually showing the age OK, how are your birthdays stored?

Original comment by roflharr...@gmail.com on 6 Aug 2012 at 12:27

GoogleCodeExporter commented 8 years ago
The age shows OK if the year of birth is stored like 15 August 1980. But if the 
information is just 15 August, then it shows empty parentheses.

Original comment by ayasfa...@gmail.com on 7 Aug 2012 at 10:16

GoogleCodeExporter commented 8 years ago
Ah, that was in your summary :P

Will fix now!

Original comment by roflharr...@gmail.com on 7 Aug 2012 at 10:24

GoogleCodeExporter commented 8 years ago
Please try the new dev version www.androidagendawidget.com/development (had to 
temporarily disable the ability to remove brackets altogether)

Original comment by roflharr...@gmail.com on 8 Aug 2012 at 12:41

GoogleCodeExporter commented 8 years ago
I just downloaded the latest version, and there still seems to be a problem. 
Let's say in my contacts, John's DoB is recorded as 15 August, and Mary's as 30 
August 1985, then the widget now shows:
John ()
Mary ((27))

What I am expecting it to show is:
John
Mary (27)
which is how it used to be, before.

Original comment by ayasfa...@gmail.com on 11 Aug 2012 at 5:18

GoogleCodeExporter commented 8 years ago
Uploading new builds to the dev site now, but the problem will persist if you 
accessed the text modifications settings screen (because it might have saved 
the birthday format with the brackets, which is bugged). 

Please double check this setting and remove the brackets if required?

Original comment by roflharr...@gmail.com on 13 Aug 2012 at 3:12

GoogleCodeExporter commented 8 years ago
Yep, it works fine now.

Basically, there are default parenthesis for the rows, and if one adds 
parenthesis in the settings, they appear as additional ones.

Original comment by ayasfa...@gmail.com on 13 Aug 2012 at 9:45

GoogleCodeExporter commented 8 years ago
Yep. 

I was a bit shortsighted when I added that preference, will have to add another 
preference or a special control so the age+age prefix/suffix are both handled 
by %a

Original comment by roflharr...@gmail.com on 13 Aug 2012 at 9:48