Merge lp:~russell-linderer/calendar-indicator/fixbug965240 into lp:calendar-indicator/precise

Proposed by Russell Linderer
Status: Needs review
Proposed branch: lp:~russell-linderer/calendar-indicator/fixbug965240
Merge into: lp:calendar-indicator/precise
Diff against target: 26 lines (+7/-1)
2 files modified
debian/changelog (+6/-0)
src/calendar-indicator.py (+1/-1)
To merge this branch: bzr merge lp:~russell-linderer/calendar-indicator/fixbug965240
Reviewer Review Type Date Requested Status
atareao-team Pending
Review via email: mp+126109@code.launchpad.net

Description of the change

Fixes bug 965240 by changing the date format from fixed dd-mm-YYYY to showing time based on locale of user.

To post a comment you must log in.

Unmerged revisions

25. By Russell Linderer

Fixed bug forcing dates to DD-MM-YYYY instead of following set locale (LP:#965240)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-07-22 22:07:14 +0000
3+++ debian/changelog 2012-09-24 21:40:28 +0000
4@@ -1,3 +1,9 @@
5+calendar-indicator (0.0.3.3-1ubuntu2) precise; urgency=low
6+
7+ * Fixed bug forcing dates to DD-MM-YYYY instead of following set locale (LP:#965240)
8+
9+ -- Russell Linderer <russell.linderer@gmail.com> Mon, 24 Sep 2012 16:30:04 -0500
10+
11 calendar-indicator (0.0.3.3-1ubuntu1) precise; urgency=low
12
13 * Fixed a bug with preferences Dialog
14
15=== modified file 'src/calendar-indicator.py'
16--- src/calendar-indicator.py 2012-07-22 20:53:26 +0000
17+++ src/calendar-indicator.py 2012-09-24 21:40:28 +0000
18@@ -98,7 +98,7 @@
19 time = cadena.split('T')[1].split(':')
20 time = datetime.time(int(time[0]),int(time[1]),int(time[2][0:2]))
21 date = datetime.date(int(date[0]),int(date[1]),int(date[2]))
22- return date.strftime('%d/%m/%Y')+' - '+time.strftime('%H:%M')
23+ return date.strftime('%x')+' - '+time.strftime('%H:%M')
24
25 def get_date(event,start=True):
26 if start:

Subscribers

People subscribed via source and target branches

to all changes: