with Formatting and Keboola?
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
keboola: {
type: "app",
app: "keboola",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.keboola.$auth.stack_endpoint}/v2/storage/buckets`,
headers: {
"x-storageapi-token": `${this.keboola.$auth.api_token}`,
"content-type": `multipart/form-data`,
},
params: {
include: `include`,
},
})
},
})