! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Show ordinal numbers for things like birthdays
Status:
CLOSED: FIXED
Severity:
enhancement

Comments

Description ixzus 2009-10-09 14:50:34 CEST
Up to now I have been using reminderfox (a plugin for firefox - you probably know it anyway) as my calendar application. I don't rhink is as good as Orage, but not everything there is bad. They have at least one cool thing. When you add events like birthdays or anniversaries you can also add (with some formating) the year of the birth or the first occurrence of whatever you want to celebrate and when that event is shown to you or reminded to you, you will see the age. Let me put an example (just because I don't think I'm making myself clear). If I want to add my daughter's birthday I will put all the info needed (day, month, year, recurrency...) but in the title I can say which year she was born, so I would write something like that in the title: My daughter's birthday <2007>. This way when her birthday arrives again next year the reminder or info I get will be: My daughter's birthday 3rd (or in my case since I'm spanish My... 3o).
Comment 1 juha editbugs 2009-10-10 09:47:51 CEST
Need to think how this could be done. Interesting feature.
Comment 2 ixzus 2009-10-12 13:06:01 CEST
I don't know if this can be of any help but you can check "reminderFox" source code from this website "http://www.mozdev.org/source/browse/reminderfox/". 

This way you can check how the guy does it in that firefox plugin.
Comment 3 juha editbugs 2009-10-13 06:43:17 CEST
It would be rather easy to show the plain number like:
My daughter fills  10 years today. (1)
But it is a lot more difficult to format the number to ordinal like this:
Today is my daughter's 10th anniversary. (2)

If (1) is enough I could do that quickly, but I still have not found a way to
format numbers to (2).
Comment 4 ixzus 2009-10-14 21:16:26 CEST
I'm just happy with the plain number (option 1).
Option 2 would look more polished but it's not absolutely necessary.

So go for 1, and if in the future you get some inspiration and find the way to add the extra formating then great, if not no problem at all.
Comment 5 juha editbugs 2009-10-17 11:51:47 CEST
Implemented in 4.7.4.10. It is simply a number to show difference between
current year and parameters <&Ynnnn> nnnn.
Comment 6 ixzus 2009-10-19 12:28:26 CEST
Great!!  Thank you Juha
Comment 7 juha editbugs 2011-01-18 14:11:23 CET
in 4.8.0

Bug #5849

Reported by:
ixzus
Reported on: 2009-10-09
Last modified on: 2011-01-18

People

CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information