Commit f5547662 authored by jz143's avatar jz143

new bundle identifier _ to - cutoff time

parent 39939c58
......@@ -13,7 +13,7 @@ class App < ActiveRecord::Base
def ios_application_identifier
# i made a mistake to use '_' in bundle identifiers
# this is fixed on 2015-12-1. This check is added for backward compatibility
if created_at < Date.new(2015, 12, 1)
if created_at < DateTime.new(2015, 12, 1, 21)
return 'edu.duke.colab.' + self.id.to_s + '_' + self.bundle_identifier_suffix
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment