Skip to content
This repository was archived by the owner on Dec 13, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/components/date-utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let timeStamp = Date.now()
let formattedString = date.formatDate(timeStamp, 'YYYY-MM-DDTHH:mm:ss.SSSZ')
```

For i18n, you can use a third parameter:
For `$q.i18n` (Quasar's built in localization), locale will be set automatically based on the global quasar `locale`. For custom i18n, you can use a third parameter:
```js
let formattedString = date.formatDate(timesStamp, 'MMMM - dddd', {
dayNames: ['Duminica', 'Luni', /* and all the rest of days - remember starting with Sunday */],
Expand Down