fix: remove debug message
This commit is contained in:
1 parent
299fd9a7be
commit
5c90d88ee7
3 files changed
+4
-11
No files matched your search
@@ -74,7 +74,7 @@
|
||||
|
||||
@media (min-width: 1280px) {
|
||||
.content {
|
||||
grid-template-columns: 1fr 2fr 1fr;
|
||||
grid-template-columns: 1fr 3fr 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,2 @@
|
||||
export const publishedToDate = (published: string): Date => {
|
||||
console.log(published)
|
||||
published.endsWith('Z')
|
||||
? console.log('includes a z. Not doing anything.')
|
||||
: console.log("doesn't include a z. adding it.")
|
||||
return published.endsWith('Z')
|
||||
? new Date(published)
|
||||
: new Date(`${published}Z`)
|
||||
}
|
||||
export const publishedToDate = (published: string): Date =>
|
||||
published.endsWith('Z') ? new Date(published) : new Date(`${published}Z`)
|
||||
Reference in new issue
Block a user