yourhead / s3

public info about s3
8 stars 7 forks source link

Date element not correctly supplying current date #675

Closed jrondorf closed 7 years ago

jrondorf commented 7 years ago

My date definition:

<dict>
    <key>id</key>
    <string>date</string>
    <key>type</key>
    <string>date</string>
    <key>title</key>
    <string>Date</string>
</dict>

Gives me a correct current date + time in the date element inside the stack settings.

But the HTML template is empty. This is returning in above case an empty string.

%id=date%

I have to change the date (or the time) inside date element in the stack settings so that the HTML template is getting a date + time value.

joeworkman commented 7 years ago

I used it in a stack last week and it was working for me. However, I was using the value in a JS template.

jrondorf commented 7 years ago

@joeworkman How does your plist entry therefore look like in detail? With above, it doesn't work in html or js templates. When dropping the stack to the page, it shows the correct date inside the stack settings, but not in the template:

2017-02-27_08-39-42

2017-02-27_08-39-58

When you click once "up" in the stack settings, or change a number there, then the correct value will be pasted into the template:

2017-02-27_08-43-11

2017-02-27_08-40-28

yourhead commented 7 years ago

fixed in beta 4

also: that was so much more difficult than you can imagine. 😉

jrondorf commented 7 years ago

I guess. I'll retest in b4 and honor it accordingly 😝