mirror of
https://github.com/acamarata/hijri-core-dart.git
synced 2026-06-30 18:54:27 +00:00
style: apply dart format
This commit is contained in:
parent
eb1890b4ef
commit
a2f947b011
1 changed files with 1 additions and 5 deletions
|
|
@ -239,11 +239,7 @@ HijriDate? _fcnaToHijri(DateTime date) {
|
|||
// This is symmetric with toGregorian, which always returns DateTime.utc().
|
||||
final d = date.toUtc();
|
||||
final inputMs =
|
||||
DateTime.utc(
|
||||
d.year,
|
||||
d.month,
|
||||
d.day,
|
||||
).millisecondsSinceEpoch.toDouble();
|
||||
DateTime.utc(d.year, d.month, d.day).millisecondsSinceEpoch.toDouble();
|
||||
|
||||
final kApprox = _utcMsToKApprox(inputMs - 15 * msPerDay);
|
||||
final k0 = kApprox.floor();
|
||||
|
|
|
|||
Loading…
Reference in a new issue