format_indonesia_v2 0.0.3 copy "format_indonesia_v2: ^0.0.3" to clipboard
format_indonesia_v2: ^0.0.3 copied to clipboard

Library for Indonesian date and numeric formatting, it helps to reformat date and numeric variable to Indonesia language

example/main.dart

import 'package:format_indonesia_v2/format_indonesia_v2.dart';

void main() {
  // using current time
  var waktu = Waktu();
  print(waktu
      .yMMMMEEEEd()); // Jumat, 19 Juni 2020 (this was the current time when development)

  var tanggal = Waktu();
  print(tanggal.format(
      'dd MMM yyyy')); // 19 Jun 2020 (this was the current time when development)

  // using specific time
  DateTime datetime = DateTime.parse('2020-05-31 12:34:13');
  print(Waktu(datetime).yMMMMEEEEd()); // Minggu, 31 Mei 2020

  // using numberic
  var numerik = Numerik(911);
  print(numerik.terbilang()); // sembilan ratus sebelas
}
1
likes
0
points
17
downloads

Publisher

verified publisherrizkyghofur.blogspot.com

Weekly Downloads

Library for Indonesian date and numeric formatting, it helps to reformat date and numeric variable to Indonesia language

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl, test

More

Packages that depend on format_indonesia_v2