Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Light talk - A byte of Date
Search
Jose Torres Cardenas
December 07, 2016
Programming
0
98
Light talk - A byte of Date
Light talk for CocoaLima. Making a point of the difference between YYYY and yyyy.
Jose Torres Cardenas
December 07, 2016
Tweet
Share
More Decks by Jose Torres Cardenas
See All by Jose Torres Cardenas
Formalización del Proceso de Elaboración de una Arquitectura de Software
coderpug
0
240
Swift build time optimization
coderpug
1
72
Jose.pdf
coderpug
0
33
Light talk - Better Error handling
coderpug
0
63
CocoaLima - Meeting structure
coderpug
0
49
CocoaLima #2
coderpug
0
49
Server-side development with Swift
coderpug
0
89
Real Time iOS apps with PubNub
coderpug
0
320
Other Decks in Programming
See All in Programming
ドメインイベント増えすぎ問題
h0r15h0
1
270
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
4
250
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
340
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
130
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
暇に任せてProxmoxコンソール 作ってみました
karugamo
1
720
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
730
Beyond ORM
77web
5
520
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
270
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
Symfony Mapper Component
soyuka
2
730
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Faster Mobile Websites
deanohume
305
30k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
KATA
mclloyd
29
14k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Code Review Best Practice
trishagee
65
17k
Producing Creativity
orderedlist
PRO
341
39k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Documentation Writing (for coders)
carmenintech
66
4.5k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Transcript
A byte of NSDATE!
A byte of NSDATE!
@CoderPug
What is this about?
Awfully common mistakes when handling dates
Awfully common mistakes when handling dates
Story time
None
None
None
None
None
Let’s do this
None
YYYY week of year. ISO 8601
yyyy the actual year. duh
YYYY != yyyy
None
https://gist.github.com/CoderPug/723a1ae39e4ff121bb3386247cd4a901
#
None
None
None
None
+1 are welcome
None
References https://twitter.com/dev_jac/status/804049295074848769 http://stackoverflow.com/questions/15133549/difference-between-yyyy- and-yyyy-in-nsdateformatter/41004145#41004145 https://developer.apple.com/reference/foundation/nsdateformatter http://www.unicode.org/reports/tr35/tr35-31/tr35- dates.html#Date_Format_Patterns
THANKS!
+ & + & +
None