[Pidgin] #300: Birthday reminder

Pidgin trac at pidgin.im
Wed Apr 25 10:50:09 EDT 2007


#300: Birthday reminder
--------------------------+-------------------------------------------------
 Reporter:  Sim-on        |       Type:  patch
   Status:  new           |   Priority:  minor
Component:  pidgin (gtk)  |    Version:  2.0  
 Keywords:                |  
--------------------------+-------------------------------------------------
 in standard ICQ you have a ballon whcih appears in the buddy list when
 someone has birthday!

 this request is still valid^^

 here some quotations of the old sourceforge.net request which has been
 closed today.

 "For the implementation I can see two problems which
 are both solvable, though:

 1. The date format is probably not standardized in
   every protocol.
  - So every protocol handler (or how you call it)
   should have a contact->hasBirthday() function that
   simply may be implemented or not.
   It should recognize at least the following formats:
      yyyy-mm-dd (1977-11-15, ISO standard)
      dd.mm.     (15.11. common yearless format)
   The obsolete English/American dd/mm/yyyy and
   mm/dd/yyyy and other strange or ambiguous
   formats simply don't get the cool feature (or just
   if the author wants to hack around)

 2. The check should at least be performed
   - when a contact changes its status (easy, the icon
     already changes)
   - on midnight, maybe within a already existing
     while(1) loop which could check for this or a
     thread which alwys sleeps until then."

 "Improved ideas:
 - The "red ballon" should not only pop up on the birthday
  but maybe as "half red ballon" or "third red ballon" 1-2
  days before.
 - This could also remove the problem that it's hard to
  change the status exactly on midnight - at least in the
  first version, seeing a half-red ballon would be enough
  of a hint to remember to gratulate on midnight oneself.
 - An older and closed bug proposed that all this should
  happen in a plugin and not in Gaim itself."

-- 
Ticket URL: <http://developer.pidgin.im/ticket/300>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list