Fix subscriber date format to American MM/DD/YYYY
This commit is contained in:
parent
e2930c6ce9
commit
1f3bf22553
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ const deactivateSubscriber = (id: number, email: string) => {
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-600">
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-600">
|
||||||
{{ subscriber.created_at }}
|
{{ new Date(subscriber.created_at).toLocaleDateString('en-US', { month: '2-digit', day: '2-digit', year: 'numeric' }) }}
|
||||||
</td>
|
</td>
|
||||||
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
||||||
<button
|
<button
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue