tanggal_indonesia 1.0.2 tanggal_indonesia: ^1.0.2 copied to clipboard
A starting point for Dart libraries or applications.
A library for Dart developers.
Created from templates made available by Stagehand under a BSD-style license.
Usage #
A simple usage example:
import 'package:indonesia/indonesia.dart';
main() {
// Currency
rupiah(123456789); // Rp 123.456.789
rupiah(
123456789,
separator: ',',
trailing: '.00'
); // Rp 123,456,789.00
// Date
DateTime date = DateTime.now();
tanggal(date); // 12 April 1996
tanggal(date, shortMonth: true); // 12 Apr 1996
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.