Skip to content

Commit

Permalink
Change Expiration date format
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaffailhami committed Jun 25, 2024
1 parent edc5feb commit 7af75cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/e_tiket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class MyETiketPage extends StatelessWidget {

final DateTime expirationDate = monday.add(Duration(days: 6));
final String formattedExpirationDate =
DateFormat('dd-MM-yyyy').format(expirationDate).toString();
DateFormat('dd/MM/yyyy').format(expirationDate).toString();

final String eTiketUrl =
'${dotenv.env['SERVER_URL']}/konfirmasi-e-tiket/${state.nik}/${sha1.convert(utf8.encode('${state.nik}($formattedMonday)')).toString()}';
Expand Down

0 comments on commit 7af75cc

Please sign in to comment.