mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Revert "Update PSM Date and Time to be Selectable Instead of Text"
This commit is contained in:
parent
1079ef8aeb
commit
c0155c208e
3 changed files with 4 additions and 12 deletions
|
@ -49,8 +49,7 @@ form {
|
|||
input[type="tel"],
|
||||
input[type="text"],
|
||||
input[type="url"],
|
||||
input[type="date"],
|
||||
input[type="datetime-local"] {
|
||||
input[type="date"] {
|
||||
padding-left: 3.2rem;
|
||||
}
|
||||
.gh-select {
|
||||
|
@ -145,7 +144,6 @@ input[type="tel"],
|
|||
input[type="text"],
|
||||
input[type="url"],
|
||||
input[type="date"],
|
||||
input[type="datetime-local"],
|
||||
textarea,
|
||||
.gh-select,
|
||||
select {
|
||||
|
@ -168,11 +166,6 @@ select {
|
|||
|
||||
}
|
||||
|
||||
// Fix for iOS where this element _looks_ like a <select> element
|
||||
input[type="datetime-local"] {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<div class="form-group">
|
||||
<label for="post-setting-date">Publish Date</label>
|
||||
<span class="input-icon icon-calendar">
|
||||
{{gh-input type="datetime-local" class="post-setting-date" id="post-setting-date" value=publishedAtValue name="post-setting-date" focus-out="setPublishedAt" stopEnterKeyDownPropagation="true"}}
|
||||
{{gh-input class="post-setting-date" id="post-setting-date" value=publishedAtValue name="post-setting-date" focus-out="setPublishedAt" stopEnterKeyDownPropagation="true"}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -14,10 +14,9 @@ parseDateFormats = ['DD MMM YY @ HH:mm', 'DD MMM YY HH:mm',
|
|||
'DD-MM-YY @ HH:mm', 'DD-MM-YY HH:mm',
|
||||
'DD-MM-YYYY @ HH:mm', 'DD-MM-YYYY HH:mm',
|
||||
'YYYY-MM-DD @ HH:mm', 'YYYY-MM-DD HH:mm',
|
||||
'DD MMM @ HH:mm', 'DD MMM HH:mm',
|
||||
'YYYY-MM-DDTHH:mm'];
|
||||
'DD MMM @ HH:mm', 'DD MMM HH:mm'];
|
||||
|
||||
displayDateFormat = 'YYYY-MM-DDTHH:mm';
|
||||
displayDateFormat = 'DD MMM YY @ HH:mm';
|
||||
|
||||
// Add missing timestamps
|
||||
verifyTimeStamp = function (dateString) {
|
||||
|
|
Loading…
Add table
Reference in a new issue