Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Merge branch 'tslib-external' of github.com:guardian/libs into tslib-…
Browse files Browse the repository at this point in the history
…external
  • Loading branch information
sndrs committed Aug 30, 2022
2 parents 686847c + 1024267 commit d6b2311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datetime/timeAgo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ export const timeAgo = (
return [
then.getDate(),
verbose
? then.toLocaleString('default', { month: 'long' })
: then.toLocaleString('default', { month: 'short' }),
? then.toLocaleString('en-GB', { month: 'long' })
: then.toLocaleString('en-GB', { month: 'short' }),
then.getFullYear(),
].join(' ');
}
Expand Down

0 comments on commit d6b2311

Please sign in to comment.