mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
PR54: Fixes double “March” and some rst syntax issues.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,7 +24,7 @@ _ = wx.GetTranslation
|
||||
|
||||
Month = {0: None,
|
||||
1: _('January'), 2: _('February'), 3: _('March'),
|
||||
4: _('March'), 5: _('May'), 6: _('June'),
|
||||
4: _('April'), 5: _('May'), 6: _('June'),
|
||||
7: _('July'), 8: _('August'), 9: _('September'),
|
||||
10: _('October'), 11: _('November'), 12: _('December')}
|
||||
|
||||
@@ -143,9 +143,9 @@ def FromJulian(julian):
|
||||
def dayOfWeek(julian):
|
||||
"""Get day of week from a julian day
|
||||
|
||||
param `julian`: the julian day
|
||||
:param `julian`: the julian day
|
||||
|
||||
returns: the day of week as an integer and Monday = 1
|
||||
:returns: the day of week as an integer and Monday = 1
|
||||
|
||||
"""
|
||||
return int((julian + 1) % 7)
|
||||
|
||||
Reference in New Issue
Block a user