問題タブ [persian-calendar]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
5954 参照

php - PHPでデフォルトの日付をペルシャの日付に設定するには?

PHPでデフォルトの日付をペルシャの日付に設定するには?

たとえば、この関数 date('Ymd') をエコーすると、2018-03-05が表示されますが、 1396-12-14はペルシャの日付が必要です。助けてください

0 投票する
1 に答える
817 参照

npm - [Vue warn]: Failed to mount component: template or render function not defined

I want to use an npm module which is based on Vue:

Persian Date & Time Picker For Vue.js

because I'm not familiar with node.js, I used wzrd.in to get a window.vuePersianDatetimePicker object:

https://wzrd.in/standalone/vue-persian-datetime-picker@latest

I used it in my code(I only include contents of my body tag):

but I cannot use it and get the following error:

[Vue warn]: Failed to mount component: template or render function not defined.

enter image description here