View Single Post
Old 04-06-2025, 05:21 PM   #1474
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,437
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by dunhill View Post
I created an action chain to collect some data.
Haha, I'm still mulling over the school library project. I have this, and it copies the data to the column, but I get this error: User: 2112 | Loan: March 29, 2025 | Return: BAD DATE

Code:
program:
user = field('#user');
loan = format_date(field('#loandate'), 'dd MMM yyyy');

dev = field('#return');
if dev == '' then
return = 'no date'
else
return = format_date(dev, 'dd MMM yyyy')
fi;

'User: ' & user & ' | Loan: ' & loan & ' | Return: ' & return
User field: Text
loandate: date
return: date
You're in Argentina. could it be non-English text in dates?

Last edited by ownedbycats; 04-06-2025 at 05:27 PM.
ownedbycats is offline   Reply With Quote