- (should (string= (icalendar--diarytime-to-isotime "01:15" "")
- "T011500"))
- (should (string= (icalendar--diarytime-to-isotime "1:15" "")
- "T011500"))
- (should (string= (icalendar--diarytime-to-isotime "0:01" "")
- "T000100"))
- (should (string= (icalendar--diarytime-to-isotime "0100" "")
- "T010000"))
- (should (string= (icalendar--diarytime-to-isotime "0100" "am")
- "T010000"))
- (should (string= (icalendar--diarytime-to-isotime "0100" "pm")
- "T130000"))
- (should (string= (icalendar--diarytime-to-isotime "1200" "")
- "T120000"))
- (should (string= (icalendar--diarytime-to-isotime "17:17" "")
- "T171700"))
- (should (string= (icalendar--diarytime-to-isotime "1200" "am")
- "T000000"))
- (should (string= (icalendar--diarytime-to-isotime "1201" "am")
- "T000100"))
- (should (string= (icalendar--diarytime-to-isotime "1259" "am")
- "T005900"))
- (should (string= (icalendar--diarytime-to-isotime "1200" "pm")
- "T120000"))
- (should (string= (icalendar--diarytime-to-isotime "1201" "pm")
- "T120100"))
- (should (string= (icalendar--diarytime-to-isotime "1259" "pm")
- "T125900")))
+ (should (string= "T011500"
+ (icalendar--diarytime-to-isotime "01:15" "")))
+ (should (string= "T011500"
+ (icalendar--diarytime-to-isotime "1:15" "")))
+ (should (string= "T000100"
+ (icalendar--diarytime-to-isotime "0:01" "")))
+ (should (string= "T010000"
+ (icalendar--diarytime-to-isotime "0100" "")))
+ (should (string= "T010000"
+ (icalendar--diarytime-to-isotime "0100" "am")))
+ (should (string= "T130000"
+ (icalendar--diarytime-to-isotime "0100" "pm")))
+ (should (string= "T120000"
+ (icalendar--diarytime-to-isotime "1200" "")))
+ (should (string= "T171700"
+ (icalendar--diarytime-to-isotime "17:17" "")))
+ (should (string= "T000000"
+ (icalendar--diarytime-to-isotime "1200" "am")))
+ (should (string= "T000100"
+ (icalendar--diarytime-to-isotime "1201" "am")))
+ (should (string= "T005900"
+ (icalendar--diarytime-to-isotime "1259" "am")))
+ (should (string= "T120000"
+ (icalendar--diarytime-to-isotime "1200" "pm")))
+ (should (string= "T120100"
+ (icalendar--diarytime-to-isotime "1201" "pm")))
+ (should (string= "T125900"
+ (icalendar--diarytime-to-isotime "1259" "pm"))))