const defaultUnit = 'kg';
const kgToLb = 2.204;
if (context.unit == defaultUnit) {
return context.weight;
} else if (context.unit == 'kg') {
return '' + (context.weight_Int * kgToLb);
} else {
return '' + (context.weight_Int / kgToLb);
}
weight::
{
appendToDailyFormat : "YYYY-MM-DD"
}