Handle %p in date_widget

This commit is contained in:
Cédric Krier committed 2008-08-26 15:08:50 +02:00
1 parent 8924f9212e
commit 11d4dae045
1 file changed
+1
+1
View File
@@ -42,6 +42,7 @@ mapping = {
'%H': (' ', '([ 0-1][ 0-9]|[ 2][ 0-4])'),
'%M': (' ', '([ 0-5][ 0-9]|[ 6][ 0])'),
'%S': (' ', '([ 0-5][ 0-9]|[ 6][ 0])'),
'%p': (' ', '[ AP][ M]'),
}
class DateEntry(gtk.Entry):