Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
a73e5bfc
Commit
a73e5bfc
authored
May 17, 2015
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Unicode literal.
parent
c1db7181
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
topydo/lib/TodoBase.py
topydo/lib/TodoBase.py
+2
-2
No files found.
topydo/lib/TodoBase.py
View file @
a73e5bfc
...
...
@@ -20,7 +20,7 @@ This module contains the class that represents a single todo item.
from
datetime
import
date
import
re
from
six
import
python_2_unicode_compatible
from
six
import
python_2_unicode_compatible
,
u
from
topydo.lib.TodoParser
import
parse_line
from
topydo.lib.Utils
import
is_valid_priority
...
...
@@ -213,7 +213,7 @@ class TodoBase(object):
self.src = re.sub(
r'
^
(
x
\
d
{
4
}
-
\
d
{
2
}
-
\
d
{
2
}
|
\
([
A
-
Z
]
\
)
)
?
(
\
d
{
4
}
-
\
d
{
2
}
-
\
d
{
2
}
)
?
(.
*
)
$
',
lambda m:
\
"{}{} {}"
.format(m.group(1) or '', p_date.isoformat(), m.group(3)),
u("{}{} {}")
.format(m.group(1) or '', p_date.isoformat(), m.group(3)),
self.src)
def creation_date(self):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment