Revert endash changes.

svn: r7850
This commit is contained in:
Stefan Bjork 2006-12-25 13:37:16 +00:00
parent a24e8537d7
commit be37491c67
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-12-25 Stefan Björk <betula@users.sourceforge.net>
* src/DateHandler/_Date_sv.py: Revert endash changes. Passes
date_test.py.
2006-12-24 Douglas S. Blank <dblank@cs.brynmawr.edu> 2006-12-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: Fixes. * src/plugins/Calendar.py: Fixes.
* src/plugins/holidays.xml: Fixes. * src/plugins/holidays.xml: Fixes.

View File

@ -151,7 +151,7 @@ class DateDisplaySv(DateDisplay):
elif mod == Date.MOD_SPAN: elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start) d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date()) d2 = self.display_cal[cal](date.get_stop_date())
return u"%s%s %s%s" % (qual_str,d1,d2,self.calendar[cal]) return u"%sfrån %s till %s%s" % (qual_str,d1,d2,self.calendar[cal])
elif mod == Date.MOD_RANGE: elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start) d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date()) d2 = self.display_cal[cal](date.get_stop_date())