# Date
Component name: <v-date>
Parse and display dates and times.
# Examples
# Parsing dates
# Displaying dates
# Formats
# Supported languages
Language | ISO 639-1 |
---|---|
Danish | da |
English | en |
German | de |
Polish | pl |
Russian | ru |
Romanian | ro |
# Specifying language
<script>
window.CLIENT = {
locale: 'ru' // ISO 639-1 language code
}
</script>
1
2
3
4
5
2
3
4
5
# API
Name | Type | Description | Default |
---|---|---|---|
date | Date | Specified date and time | Current date/time |
format | String | Display using specified localized/custom format | LLL |
relative | Boolean | Display relative time format. Overrides format | false |
calendar | Boolean | Display calendar time format. Overrides format | false |
date-only | Boolean | Never show time. Works with the calendar format only | false |
with-time | Boolean | Always show time. Works with the calendar format only | false |