stdLOCALE_TIME function
dynamic
stdLOCALE_TIME(
- dynamic value
Expression function LOCALE_TIME(t): time formatted for the locale.
Implementation
dynamic stdLOCALE_TIME(dynamic value) {
final secs = varToInt(value);
final h = secs ~/ 3600;
final m = (secs % 3600) ~/ 60;
final s = secs % 60;
return '${h.toString().padLeft(2, '0')}:${m.toString().padLeft(2, '0')}:${s.toString().padLeft(2, '0')}';
}