tanggal_indonesia 1.0.2 icon indicating copy to clipboard operation
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.

2
likes
105
pub points
49%
popularity

Publisher

verified publisher iconm-oga.id

A starting point for Dart libraries or applications.

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

More

Packages that depend on tanggal_indonesia