Skip to content

Commit

Permalink
fix: #138 Datetime fixes for Mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Oct 24, 2016
1 parent 270eefa commit 1d7e6f9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quasar-framework",
"version": "0.8.1",
"version": "0.8.2",
"description": "Simultaneously build desktop/mobile SPA websites & phone/tablet apps with VueJS",
"main": "dist/quasar.common.js",
"jsnext:main": "dist/quasar.es6.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import Utils from './utils'
import { LocalStorage, SessionStorage } from './web-storage'

let Quasar = {
version: '0.8.1',
version: '0.8.2',
install,
start,
theme
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import Utils from './utils'
import { LocalStorage, SessionStorage } from './web-storage'

let Quasar = {
version: '0.8.1',
version: '0.8.2',
install,
start,
theme,
Expand Down
3 changes: 1 addition & 2 deletions src/vue-components/datetime/DatetimeDesktop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ export default {
},
value: {
type: String,
required: true,
default: moment().format()
required: true
},
format: String,
okLabel: {
Expand Down
2 changes: 1 addition & 1 deletion src/vue-components/datetime/DatetimeMobile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {
},
data () {
return {
model: '',
model: moment().format(),
css: contentCSS[theme],
position: theme === 'ios' ? 'items-end justify-center' : 'items-center justify-center',
transition: theme === 'ios' ? 'quasar-modal-actions' : 'quasar-modal',
Expand Down

0 comments on commit 1d7e6f9

Please sign in to comment.