Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
ed0ea96e
Commit
ed0ea96e
authored
Aug 30, 2021
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
date: promote before multiply
parent
f93beebc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/date.c
+1
-1
No files found.
src/date.c
View file @
ed0ea96e
...
@@ -722,7 +722,7 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, struct tm
...
@@ -722,7 +722,7 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, struct tm
while
(
tl
->
type
)
{
while
(
tl
->
type
)
{
size_t
len
=
strlen
(
tl
->
type
);
size_t
len
=
strlen
(
tl
->
type
);
if
(
match_string
(
date
,
tl
->
type
)
>=
len
-
1
)
{
if
(
match_string
(
date
,
tl
->
type
)
>=
len
-
1
)
{
update_tm
(
tm
,
now
,
tl
->
length
*
*
num
);
update_tm
(
tm
,
now
,
tl
->
length
*
(
unsigned
long
)
*
num
);
*
num
=
0
;
*
num
=
0
;
*
touched
=
1
;
*
touched
=
1
;
return
end
;
return
end
;
...
...
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