Skip to content

Commit

Permalink
Format the time.
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham Lee committed Mar 31, 2012
1 parent 5b6ca9f commit abde080
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Main.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
NSDate *accessedAt;
}

- (NSString *)now;
- (NSDate *)now;
- (GSWComponent *)nextPage;

@end
4 changes: 2 additions & 2 deletions Main.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ - (id)init {
return self;
}

- (NSString *)now {
return [accessedAt description];
- (NSDate *)now {
return accessedAt;
}

- (GSWComponent *)nextPage {
Expand Down
2 changes: 1 addition & 1 deletion Main.wo/Main.wod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
now_string:WOString {value = now}
now_string:WOString {value = now; dateformat = "%I:%M:%S %p"}
form:WOForm {}
submit_button:WOSubmitButton {action = nextPage}

0 comments on commit abde080

Please sign in to comment.