Commit Graph

100 Commits

Author SHA1 Message Date
Doug Blank
ea5dcfd4ae Refined docstrings
svn: r20211
2012-08-14 12:59:19 +00:00
Doug Blank
8dddccf6b6 Added to_struct methods to all gen.lib objects; 2623: Import Export Merge (GEPS 009)
svn: r20205
2012-08-13 23:45:19 +00:00
Doug Blank
ff8a9fbbba Error in get_repr
svn: r19942
2012-07-01 03:02:47 +00:00
Doug Blank
e1247426da Allow Span display as Time or as Age
svn: r19939
2012-06-30 05:04:44 +00:00
Nick Hall
aabc6c05c2 GEPS008: Moved config module
svn: r19809
2012-06-09 20:10:28 +00:00
Doug Blank
4409f30bc2 5423: Incorrect age for 'death before XX'
svn: r18576
2011-12-11 15:58:16 +00:00
Jérôme Rapinat
f455cb269c 5293: wording improvements
svn: r18364
2011-10-23 07:51:22 +00:00
Jérôme Rapinat
0259a143a0 can died at same year as max_alive
svn: r18316
2011-10-13 16:11:06 +00:00
Jérôme Rapinat
7c06699fb8 5293: use correct method with precision set; try to avoid age greater than max alive (user preferences)
svn: r18315
2011-10-13 14:52:52 +00:00
Jérôme Rapinat
1bc8f8a79c 5293: age='unknown' for after/after and before/before dates (age calculation)
svn: r18298
2011-10-12 16:30:18 +00:00
Jérôme Rapinat
6dbab99330 5293: return year only with 'about' calculation
svn: r18294
2011-10-12 14:42:54 +00:00
Doug Blank
521b8fa98d Made NextYear use Today() + 1
svn: r17547
2011-05-21 22:06:40 +00:00
Jérôme Rapinat
1ab2656517 2521, 4923 'after' and validation (partial fix); typo on NextYear()
svn: r17545
2011-05-21 08:38:22 +00:00
Gerald Britton
a19e65073c Use built-in map function to simplify some list comprehensions
svn: r16636
2011-02-16 20:06:40 +00:00
Benny Malengier
c2e353a72b 4383: Error while attempt to edit family
2521: Problem with erroneous birth date in using the family editor.
We show validation error on date > next year, and don't crash on large year anymore



svn: r16468
2011-01-25 12:45:49 +00:00
Doug Blank
2842f8e8a5 3131: sibling quickview doesn't reflect person view
svn: r15033
2010-04-05 02:53:32 +00:00
Doug Blank
c551d6beb1 Newyear import/export changes and fix
svn: r15027
2010-04-04 12:10:12 +00:00
Doug Blank
cc843399a6 Typo on newyear fix
svn: r15024
2010-04-04 11:32:10 +00:00
Doug Blank
7047015603 3756: Cannot set new year value different than default (first January)
svn: r15010
2010-04-03 23:33:17 +00:00
Brian Matherly
ac820cb8df PEP8 Improvements. Remove dependency on DateHandler.
svn: r14145
2010-01-27 03:38:30 +00:00
Brian Matherly
c9cb7e60c9 Move GEDCOM date functions into libgedcom.
svn: r14125
2010-01-25 04:54:22 +00:00
Doug Blank
c689013025 Added two additional cases for date matches: <=, >=
svn: r14101
2010-01-20 13:37:24 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Doug Blank
68e9b27265 Added method to make dates non-specific
svn: r13990
2010-01-07 21:41:07 +00:00
Doug Blank
cc768b3d36 Proper default value for lookup_calendar
svn: r13769
2009-12-11 23:09:02 +00:00
Doug Blank
966ecbf20c Convieniences: get_year_calendar(int) or get_year_calendar(name); date.to_calendar(int) or to_calendar(name)
svn: r13764
2009-12-11 15:17:39 +00:00
Doug Blank
96737bf442 Refined calendar lookup
svn: r13762
2009-12-11 15:05:29 +00:00
Doug Blank
6d245db5fc Fixed error in get_year_calendar
svn: r13761
2009-12-11 14:27:50 +00:00
Doug Blank
f271154b59 Fixes for get_year_calendar
svn: r13743
2009-12-08 12:32:10 +00:00
Doug Blank
4434fd6542 Added convienience method for getting year in the calendar of a date
svn: r13731
2009-12-06 17:34:27 +00:00
Doug Blank
0c10d47a90 Added a == to match to check more exact matches
svn: r13717
2009-12-05 20:07:53 +00:00
Doug Blank
d004430882 Fixed error in computing days of a date diff span
svn: r13661
2009-11-23 01:54:44 +00:00
Doug Blank
c8fc4d20dd Added = and == to match for similar and exact text_only date matches
svn: r13417
2009-10-25 21:05:45 +00:00
Doug Blank
40b9c7a7ca Fixed three errors in date conversions: set_slash didn't work; set_slash2 was missing; and convert_to calendar needed to clear NEWYEAR and SLASHES
svn: r13395
2009-10-23 00:06:14 +00:00
Doug Blank
c202f43e9b Fixed two errors: simple str(date) now shows alternate newyear day; match with alt newyear day now works correctly
svn: r13390
2009-10-22 04:15:18 +00:00
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Doug Blank
09497d5576 Fixed error in sorting date spans, and refined span comparisons
svn: r13303
2009-10-04 15:13:07 +00:00
Doug Blank
8883fe0f97 Moved gedcom date constants and functions to gen.lib.date so they can be shared
svn: r13249
2009-09-25 20:45:05 +00:00
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Gerald Britton
fdfacd972c Minor tweaks to use slices instead of lists of items
svn: r12705
2009-06-25 13:41:16 +00:00
Gerald Britton
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Doug Blank
0e6d1d8496 2792: Dates in sourcereferences in person_ref_list not upgraded; hack to be removed in future
svn: r12271
2009-03-09 14:10:51 +00:00
Jérôme Rapinat
160b4e3c6f #2746: Translation problem in calendar names (by Janne Kovesjärvi)
svn: r12126
2009-02-26 09:13:50 +00:00
Raphael Ackermann
baef4d76a4 fixed indentation issues and mix of tabs and spaces.
svn: r11943
2009-02-09 23:37:40 +00:00
Jérôme Rapinat
40d99c2b4e revert changes, using ngettext
svn: r11761
2009-01-30 10:36:23 +00:00
Jérôme Rapinat
d1918cc259 mistakes on context
svn: r11715
2009-01-25 13:11:27 +00:00
Jérôme Rapinat
0034c7c02c translation support and use TransUtils for context
svn: r11703
2009-01-24 09:40:55 +00:00
Peter Landgren
3fc705f784 Typo fixed.
svn: r11674
2009-01-20 13:03:28 +00:00
Peter Landgren
a73b2da699 Swedish calendar added.
svn: r11665
2009-01-19 20:09:19 +00:00
Doug Blank
0887ab1ac9 Handle date differences when one is a newyear other than Jan1
svn: r11646
2009-01-17 17:11:34 +00:00