Adding Astrojs sources.
This commit is contained in:
parent
2664e6d8fc
commit
e20f4f45de
169 changed files with 11389 additions and 0 deletions
8
src/utils/date.js
Normal file
8
src/utils/date.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
export const dateFormat = (d) => {
|
||||
const formatter = new Intl.DateTimeFormat('en-US', {
|
||||
year: 'numeric',
|
||||
month: 'long',
|
||||
day: 'numeric',
|
||||
});
|
||||
return formatter.format(d);
|
||||
};
|
||||
Loading…
Reference in a new issue