* src/GrampsDb/_ReadGedcom.py: Formatting fixes.
* src/GrampsDb/_GrampsDbBase.py: Formatting fixes. * src/GrampsDb/_GrampsDbFactories.py: Formatting fixes. * src/GrampsDb/_WriteXML.py: Formatting fixes. * src/GrampsDb/_GrampsBSDDB.py: Formatting fixes. * src/RelLib/_UrlBase.py: Formatting fixes. * src/RelLib/_Url.py: Formatting fixes. * src/RelLib/_Person.py: Formatting fixes. * src/RelLib/_Family.py: Formatting fixes. * src/RelLib/_Place.py: Formatting fixes. * src/RelLib/_Repository.py: Formatting fixes. * src/BasicUtils.py: Formatting fixes. * src/DateHandler/_DateUtils.py: Formatting fixes. svn: r7481
This commit is contained in:
@@ -55,12 +55,12 @@ def set_date(date_base, text) :
|
||||
"""
|
||||
Sets the date of the DateBase instance.
|
||||
|
||||
The date is parsed into a L{Date} instance.
|
||||
The date is parsed into a Date instance.
|
||||
|
||||
@param date: String representation of a date. The locale specific
|
||||
L{DateParser} is used to parse the string into a GRAMPS L{Date}
|
||||
object.
|
||||
@type date: str
|
||||
@param date_base: The DateBase instance to set the date to.
|
||||
@type date_base: DateBase
|
||||
@param text: The text to use for the text string in date
|
||||
@type text: str
|
||||
"""
|
||||
parser.set_date(date_base.get_date_object(),text)
|
||||
|
||||
@@ -69,7 +69,7 @@ def get_date(date_base) :
|
||||
Returns a string representation of the date of the DateBase instance.
|
||||
|
||||
This representation is based off the default date display format
|
||||
determined by the locale's L{DateDisplay} instance.
|
||||
determined by the locale's DateDisplay instance.
|
||||
@return: Returns a string representing the DateBase date
|
||||
@rtype: str
|
||||
"""
|
||||
@@ -80,8 +80,8 @@ def get_quote_date(date_base):
|
||||
Returns a string representation of the date of the DateBase instance.
|
||||
|
||||
This representation is based off the default date display format
|
||||
determined by the locale's L{DateDisplay} instance. The date is
|
||||
enclosed in quotes if the L{Date} is not a valid date.
|
||||
determined by the locale's DateDisplay instance. The date is
|
||||
enclosed in quotes if the Date is not a valid date.
|
||||
|
||||
@return: Returns a string representing the DateBase date
|
||||
@rtype: str
|
||||
|
Reference in New Issue
Block a user