Skip to content

Commit

Permalink
fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
abduelrahman committed Dec 24, 2020
1 parent 7a3662e commit 3ae2566
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ allprojects {

```groovy
implementation 'com.github.am-Leon:DateUtils:1.0.5'
implementation 'com.github.am-Leon:DateUtils:1.0.6'
```
6 changes: 3 additions & 3 deletions dateUtils/src/main/java/am/dateutils/DateUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -440,11 +440,11 @@ private String getHourAr() {

if (hour < 10) {
if (minute < 10)
stringBuilder.append(Utils.getNumberFormat(minute)).append(Utils.getNumberFormat(0)).append(":")
.append(Utils.getNumberFormat(hour)).append(Utils.getNumberFormat(0));
stringBuilder.append(Utils.getNumberFormat(0)).append(Utils.getNumberFormat(minute)).append(":")
.append(Utils.getNumberFormat(0)).append(Utils.getNumberFormat(hour));
else
stringBuilder.append(Utils.getNumberFormat(minute)).append(":")
.append(Utils.getNumberFormat(hour)).append(Utils.getNumberFormat(0));
.append(Utils.getNumberFormat(0)).append(Utils.getNumberFormat(hour));
} else
stringBuilder.append(Utils.getNumberFormat(minute)).append(":").append(Utils.getNumberFormat(hour));

Expand Down

0 comments on commit 3ae2566

Please sign in to comment.