mirror of
https://github.com/google/pebble.git
synced 2025-04-24 05:27:07 -04:00
spelling: timestamp
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
994d10f5df
commit
f257b7ae1f
3 changed files with 4 additions and 4 deletions
|
@ -134,7 +134,7 @@ static void prv_render_bpm(GContext *ctx, Layer *base_layer) {
|
|||
graphics_text_node_destroy(&container->node);
|
||||
}
|
||||
|
||||
static void prv_render_timstamp(GContext *ctx, Layer *base_layer) {
|
||||
static void prv_render_timestamp(GContext *ctx, Layer *base_layer) {
|
||||
HealthHrSummaryCardData *data = layer_get_data(base_layer);
|
||||
|
||||
if (data->last_updated <= 0 || data->now_bpm == 0) {
|
||||
|
@ -189,7 +189,7 @@ static void prv_base_layer_update_proc(Layer *base_layer, GContext *ctx) {
|
|||
|
||||
prv_render_bpm(ctx, base_layer);
|
||||
|
||||
prv_render_timstamp(ctx, base_layer);
|
||||
prv_render_timestamp(ctx, base_layer);
|
||||
}
|
||||
|
||||
static void prv_hr_detail_card_unload_callback(Window *window) {
|
||||
|
|
|
@ -193,7 +193,7 @@ static bool prv_should_ignore_because_stale(time_t timestamp) {
|
|||
// workaround for PBL-8400 (ignore notifications older than 2 hours)
|
||||
// PBL-9066: Increased to 20 minutes due to Mail.app only fetching emails every 15 minutes
|
||||
// PBL-9251: Increased to 2 hours. People have Fetch set to hourly.
|
||||
// PBL-12726: Added a check to see if the timstamp is coming from a location based reminder
|
||||
// PBL-12726: Added a check to see if the timestamp is coming from a location based reminder
|
||||
// This work-around is causing more trouble than the problem it was solving...
|
||||
if (timestamp < (now - MAXIMUM_NOTIFY_TIME) && timestamp != INVALID_TIME) {
|
||||
PBL_LOG(LOG_LEVEL_INFO, "Not presenting stale notif (ts=%ld)", timestamp);
|
||||
|
|
|
@ -301,7 +301,7 @@ void test_reminder_db__find_by_timestamp_title(void) {
|
|||
cl_assert_equal_b(reminder_db_find_by_timestamp_title(0, "nonexistent title", NULL, &reminder),
|
||||
false);
|
||||
|
||||
// Test matching timstamp, but not title
|
||||
// Test matching timestamp, but not title
|
||||
cl_assert_equal_b(reminder_db_find_by_timestamp_title(title_item1.header.timestamp,
|
||||
"nonexistent title", NULL, &reminder), false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue