Skip to content

Instantly share code, notes, and snippets.

@PhilippeBoisney
Created March 1, 2017 08:11
Show Gist options
  • Save PhilippeBoisney/5e0f4e513be69cfbdeea394110f0fe5b to your computer and use it in GitHub Desktop.
Save PhilippeBoisney/5e0f4e513be69cfbdeea394110f0fe5b to your computer and use it in GitHub Desktop.
let day = DayModel(id: idOfDay,
idDate: Int(time.dayTimePeriodFormatter.string(from: date))!,
title: String(fullDate.characters.prefix(1)).uppercased() + String(fullDate.characters.dropFirst()),
email: email)!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment