# Time calculator project

**URL:** <https://forum.freecodecamp.org/t/time-calculator-project/421813>\
**Category:** General\
**Created:** [September 6, 2020, 12:59pm UTC](https://forum.freecodecamp.org/t/time-calculator-project/421813 "2020-09-06T12:59:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nayankoshiya](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/nayankoshiya/32/171954_2.png) [@nayankoshiya](https://forum.freecodecamp.org/u/nayankoshiya)\
**Post date:** [September 6, 2020, 12:59pm UTC](https://forum.freecodecamp.org/t/time-calculator-project/421813/1 "2020-09-06T12:59:19Z")

</div>

Hi rajpreet,  
I am nayan i am struggling with the time calculator project . here is the replit link. Can you help me correct?

[https://repl.it/join/jejliksn-nayankoshiya](https://repl.it/join/jejliksn-nayankoshiya)

---

<div class="post-metadata">

**Author:** ![nayankoshiya](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/nayankoshiya/32/171954_2.png) [@nayankoshiya](https://forum.freecodecamp.org/u/nayankoshiya)\
**Post date:** [September 6, 2020, 1:00pm UTC](https://forum.freecodecamp.org/t/time-calculator-project/421813/2 "2020-09-06T13:00:16Z")

</div>

Hi Carlos,  
I am nayan i am struggling with the time calculator project . here is the replit link. Can you help me correct?

[https://repl.it/join/jejliksn-nayankoshiya](https://repl.it/join/jejliksn-nayankoshiya)

---

<div class="post-metadata">

**Author:** ![cyborg001](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/cyborg001/32/66680_2.png) [@cyborg001](https://forum.freecodecamp.org/u/cyborg001)\
**Post date:** [September 6, 2020, 10:28pm UTC](https://forum.freecodecamp.org/t/time-calculator-project/421813/3 "2020-09-06T22:28:44Z")

</div>

Hi, you should first take care of yours blank spaces. you sholud run the test.py file and see the errors for example:

```auto
6:01 PM  
6:10 PM  
FFFFFFFFFFFF
======================================================================
FAIL: test_different_period (test_module.UnitTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/fcc-time-calculator-nayan/test_module.py", line 15, in test_different_period
    self.assertEqual(actual, expected, 'Expected calling "add_time()" with "11:55 AM", "3:12" to return "3:07 PM"')
AssertionError: '3:07 PM ' != '3:07 PM'
- 3:07 PM  
? --
+ 3:07 PM
 : Expected calling "add_time()" with "11:55 AM", "3:12" to return "3:07 PM"

```

the other is 11:55 AM when you add 5 minutes its goint to be 12:00 PM changes from AM to PM

---

<div class="post-metadata">

**Author:** ![cyborg001](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/cyborg001/32/66680_2.png) [@cyborg001](https://forum.freecodecamp.org/u/cyborg001)\
**Post date:** [September 6, 2020, 10:32pm UTC](https://forum.freecodecamp.org/t/time-calculator-project/421813/4 "2020-09-06T22:32:36Z")

</div>

begin fixing those errors '3:07 PM ’ whith spaces != ‘3:07 PM’

---

<div class="post-metadata">

**Author:** ![rajpreet](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/rajpreet/32/136926_2.png) [@rajpreet](https://forum.freecodecamp.org/u/rajpreet)\
**Post date:** [September 20, 2020, 12:36am UTC](https://forum.freecodecamp.org/t/time-calculator-project/421813/5 "2020-09-20T00:36:35Z")

</div>

Hi Nayankoshiya , Sorry for very late reply. Have you solved it now ?

---

<div class="post-metadata">

**Author:** ![nayankoshiya](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/nayankoshiya/32/171954_2.png) [@nayankoshiya](https://forum.freecodecamp.org/u/nayankoshiya)\
**Post date:** [September 20, 2020, 6:29am UTC](https://forum.freecodecamp.org/t/time-calculator-project/421813/6 "2020-09-20T06:29:11Z")

</div>

Hi rajpreet,

No no I haven’t , can you please look into my code and suggest me because I am getting confused.

Thanks,  
Nayan

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:38pm UTC](https://forum.freecodecamp.org/t/time-calculator-project/421813/7 "2021-06-01T18:38:55Z")

</div>

Closed on June 1, 2021, 6:38pm UTC


