Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
96da608e
Commit
96da608e
authored
Jul 15, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix updated_at
parent
c7319465
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
app/app.ts
app/app.ts
+2
-0
app/apps.service.ts
app/apps.service.ts
+3
-0
No files found.
app/app.ts
View file @
96da608e
...
...
@@ -58,6 +58,7 @@ export class App {
homepage
:
string
;
developers
:
{
name
:
string
,
url
:
string
}[];
released_at
:
Date
;
updated_at
:
Date
;
category
:
Category
;
parent
?:
App
;
...
...
@@ -167,6 +168,7 @@ export class App {
this
.
description
=
app
.
description
;
this
.
developers
=
app
.
developers
;
this
.
released_at
=
app
.
released_at
;
this
.
updated_at
=
app
.
updated_at
;
this
.
author
=
app
.
author
;
this
.
homepage
=
app
.
homepage
;
this
.
category
=
Category
[
<
string
>
app
.
category
];
...
...
app/apps.service.ts
View file @
96da608e
...
...
@@ -278,6 +278,9 @@ export class AppsService {
if
(
app
.
released_at
)
{
app
.
released_at
=
new
Date
(
app
.
released_at
);
}
if
(
app
.
updated_at
)
{
app
.
updated_at
=
new
Date
(
app
.
updated_at
);
}
if
(
app
.
news
)
{
for
(
let
item
of
app
.
news
)
{
item
.
updated_at
=
new
Date
(
item
.
updated_at
);
...
...
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