tanggal_indonesia 1.0.2 copy "tanggal_indonesia: ^1.0.2" to clipboard
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.

3
likes
115
pub points
54%
popularity

Publisher

verified publisherm-oga.id

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on tanggal_indonesia